aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-02-18 19:47:49 +0000
committerDave Love2000-02-18 19:47:49 +0000
commitf0b645bfc7a16c88b6f44b48466b719c786d6644 (patch)
tree49b19f28878a9b60ce423956edd26f7f99d1cc3b /src
parent57beb0e03ae3af3c735848f3af9af10a0c46739d (diff)
downloademacs-f0b645bfc7a16c88b6f44b48466b719c786d6644.tar.gz
emacs-f0b645bfc7a16c88b6f44b48466b719c786d6644.zip
Undef feature selection macros before defining.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c5
1 files changed, 5 insertions, 0 deletions
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. */
21 21
22 22
23#include <config.h> 23#include <config.h>
24/* The following feature selections should be in config.h, but that
25 causes at best a host of warnings on some systems. */
26#undef _XOPEN_SOURCE /* Avoid warnings about redefinition
27 in some cases. */
24#define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */ 28#define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */
29#undef __EXTENSIONS__
25#define __EXTENSIONS__ /* Keep Solaris 2.6 happy with the 30#define __EXTENSIONS__ /* Keep Solaris 2.6 happy with the
26 above, else things we need are hidden. */ 31 above, else things we need are hidden. */
27#include <stdio.h> 32#include <stdio.h>