diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-17 11:05:07 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-17 11:06:05 -0700 |
commit | 7cd3d85013896dc4160f70228fc198c65a42b2e2 (patch) | |
tree | be682d95806570eaeb1aaa7acbcff7b25e82c4c1 /src/unexmacosx.c | |
parent | d7f0daf7ecaa7b138f7c66796e23fa5982b0a8bb (diff) | |
download | emacs-7cd3d85013896dc4160f70228fc198c65a42b2e2.tar.gz emacs-7cd3d85013896dc4160f70228fc198c65a42b2e2.tar.bz2 emacs-7cd3d85013896dc4160f70228fc198c65a42b2e2.zip |
Define _GNU_SOURCE in files delaying config.h
Problem reported by Richard Copley in:
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00440.html
* src/w32.c, src/w32notify.c, src/w32proc.c (_GNU_SOURCE):
Define early.
Diffstat (limited to 'src/unexmacosx.c')
-rw-r--r-- | src/unexmacosx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index 2ba67df8bc9..185a9d1f62b 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c @@ -85,11 +85,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ be changed accordingly. */ -/* Make symbols like LLONG_WIDTH visible when the Gnulib <limits.h> - is included before <config.h>. */ -#ifndef _GNU_SOURCE +/* Enable GNU extensions in gnulib replacement headers. */ #define _GNU_SOURCE 1 -#endif /* config.h #define:s malloc/realloc/free and then includes stdlib.h. We want the undefined versions, but if config.h includes stdlib.h |