From 7e6c20e82583eff9bf9cdd81fba634bee0adaf72 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 31 Aug 1999 14:00:32 +0000 Subject: [PATCH] (__FreeBSD_version): Don't define it if it is already defined. This avoids a warning from buffer.c. --- src/s/freebsd.h | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.5