diff options
| author | Dave Love | 2000-02-18 19:47:49 +0000 |
|---|---|---|
| committer | Dave Love | 2000-02-18 19:47:49 +0000 |
| commit | f0b645bfc7a16c88b6f44b48466b719c786d6644 (patch) | |
| tree | 49b19f28878a9b60ce423956edd26f7f99d1cc3b /src | |
| parent | 57beb0e03ae3af3c735848f3af9af10a0c46739d (diff) | |
| download | emacs-f0b645bfc7a16c88b6f44b48466b719c786d6644.tar.gz emacs-f0b645bfc7a16c88b6f44b48466b719c786d6644.zip | |
Undef feature selection macros before defining.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 5 |
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> |