From: Gerd Moellmann Date: Tue, 31 Aug 1999 14:00:32 +0000 (+0000) Subject: (__FreeBSD_version): Don't define it if it is X-Git-Tag: emacs-pretest-21.0.90~6971 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e6c20e82583eff9bf9cdd81fba634bee0adaf72;p=emacs.git (__FreeBSD_version): Don't define it if it is already defined. This avoids a warning from buffer.c. --- diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 951d7870579..730b05fc759 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -2,6 +2,7 @@ /* Get the correct __FreeBSD_version, even if this is before that was defined. */ +#ifndef __FreeBSD_version #ifndef __FreeBSD__ #define __FreeBSD_version 199401 #elif __FreeBSD__ == 1 @@ -9,6 +10,7 @@ #else #include #endif +#endif /* !defined __FreeBSD_version */ /* '__FreeBSD__' is defined by the preprocessor on FreeBSD-1.1 and up. Earlier versions do not have shared libraries, so inhibit them.