diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 14:41:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-01 14:41:13 -0400 |
commit | 8298ad83ac0af32707d65b17b3a3a63c137a50e6 (patch) | |
tree | 1def0195a33dac058ed8cdfe25870bda5a9a4f3d /src | |
parent | efb1e1aaf0441cbd3fec165e3cc53dff6f8ff9de (diff) | |
download | jalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.tar.gz jalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.tar.bz2 jalv-8298ad83ac0af32707d65b17b3a3a63c137a50e6.zip |
Use consistent feature test macros
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 5 | ||||
-rw-r--r-- | src/jalv_console.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -14,8 +14,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _POSIX_C_SOURCE 200809L /* for mkdtemp */ -#define _DARWIN_C_SOURCE /* for mkdtemp on OSX */ +#define _POSIX_C_SOURCE 200809L /* for mkdtemp */ +#define _DARWIN_C_SOURCE /* for mkdtemp on OSX */ + #include <assert.h> #include <math.h> #include <signal.h> diff --git a/src/jalv_console.c b/src/jalv_console.c index 10bf0c1..3f6343d 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -1,5 +1,5 @@ /* - Copyright 2007-2014 David Robillard <http://drobilla.net> + Copyright 2007-2016 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _XOPEN_SOURCE 500 +#define _POSIX_C_SOURCE 200809L +#define _XOPEN_SOURCE 500 #include <stdbool.h> #include <stdio.h> |