From f0b645bfc7a16c88b6f44b48466b719c786d6644 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 18 Feb 2000 19:47:49 +0000 Subject: [PATCH] Undef feature selection macros before defining. --- src/lread.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lread.c b/src/lread.c index 8b2564c3792..699c7fc2ef9 100644 --- a/src/lread.c +++ b/src/lread.c @@ -21,7 +21,12 @@ Boston, MA 02111-1307, USA. */ #include +/* The following feature selections should be in config.h, but that + causes at best a host of warnings on some systems. */ +#undef _XOPEN_SOURCE /* Avoid warnings about redefinition + in some cases. */ #define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */ +#undef __EXTENSIONS__ #define __EXTENSIONS__ /* Keep Solaris 2.6 happy with the above, else things we need are hidden. */ #include -- 2.39.5