Mercurial > emacs
changeset 27763:70a9799a393e
Undef feature selection macros before defining.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 18 Feb 2000 19:47:49 +0000 |
parents | 6b281c2a0c2b |
children | 6599247a653e |
files | src/lread.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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>