diff options
| author | Paul Eggert | 2016-09-17 11:05:07 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-09-17 11:06:05 -0700 |
| commit | 7cd3d85013896dc4160f70228fc198c65a42b2e2 (patch) | |
| tree | be682d95806570eaeb1aaa7acbcff7b25e82c4c1 /src/w32proc.c | |
| parent | d7f0daf7ecaa7b138f7c66796e23fa5982b0a8bb (diff) | |
| download | emacs-7cd3d85013896dc4160f70228fc198c65a42b2e2.tar.gz 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/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 90cef3231c8..e23b1b3563c 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -22,6 +22,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | Adapted from alarm.c by Tim Fleehart | 22 | Adapted from alarm.c by Tim Fleehart |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | /* Enable GNU extensions in gnulib replacement headers. */ | ||
| 26 | #define _GNU_SOURCE 1 | ||
| 27 | |||
| 25 | #include <mingw_time.h> | 28 | #include <mingw_time.h> |
| 26 | #include <stdio.h> | 29 | #include <stdio.h> |
| 27 | #include <stdlib.h> | 30 | #include <stdlib.h> |