diff options
-rw-r--r-- | src/wavegen.c | 2 | ||||
-rw-r--r-- | wscript | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/wavegen.c b/src/wavegen.c index 740ed3c..c1a2137 100644 --- a/src/wavegen.c +++ b/src/wavegen.c @@ -17,7 +17,7 @@ along with this software. If not, see <http://www.gnu.org/licenses/>. */ -#define _GNU_SOURCE 1 +#define _POSIX_C_SOURCE 200809L // strdup #include <stdlib.h> #include <stdio.h> @@ -33,7 +33,6 @@ def configure(conf): mandatory = False) conf.env.append_unique('CFLAGS', '-std=c99') - conf.env.append_unique('CFLAGS', '-D_XOPEN_SOURCE') conf.write_config_header('config.h', remove=False) |