changeset 25470:06fcafae7d56

(__FreeBSD_version): Don't define it if it is already defined. This avoids a warning from buffer.c.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 31 Aug 1999 14:00:32 +0000
parents 6762c8a75fd7
children fc40de55a24f
files src/s/freebsd.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/freebsd.h	Tue Aug 31 13:12:46 1999 +0000
+++ b/src/s/freebsd.h	Tue Aug 31 14:00:32 1999 +0000
@@ -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 <osreldate.h>
 #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.