Commit 7e6c20e8 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(__FreeBSD_version): Don't define it if it is

already defined.  This avoids a warning from buffer.c.
parent 22d85d00
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment