diff options
author | Evan Hunter <evan@ozhiker.com> | 2016-10-08 11:27:03 +0100 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-10-09 08:19:18 +1000 |
commit | 1b0cdc3e669b69281371ab77893792d2d8621af9 (patch) | |
tree | 62e302af329cc6ea7cfd858652c7298c0280a44d /jim-aio.c | |
parent | 9b5c92b150d319f35cdc93cd556101f1de6b2b32 (diff) | |
download | jimtcl-1b0cdc3e669b69281371ab77893792d2d8621af9.zip jimtcl-1b0cdc3e669b69281371ab77893792d2d8621af9.tar.gz jimtcl-1b0cdc3e669b69281371ab77893792d2d8621af9.tar.bz2 |
Avoid re-defining _GNU_SOURCE
pkgconfig for SDL causes _GNU_SOURCE to be defined on the commandline,
hence causing an error when these source files re-define it.
Diffstat (limited to 'jim-aio.c')
-rw-r--r-- | jim-aio.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,7 +39,9 @@ #include "jimautoconf.h" +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <stdio.h> #include <string.h> #include <errno.h> |