diff src/lread.c @ 27763:70a9799a393e

Undef feature selection macros before defining.
author Dave Love <fx@gnu.org>
date Fri, 18 Feb 2000 19:47:49 +0000
parents 9400865ec7cf
children 98f55bbdbbad
line wrap: on
line diff
--- a/src/lread.c	Fri Feb 18 15:35:03 2000 +0000
+++ b/src/lread.c	Fri Feb 18 19:47:49 2000 +0000
@@ -21,7 +21,12 @@
 
 
 #include <config.h>
+/* 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 <stdio.h>