summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-13 17:25:38 +0200
committerDavid Robillard <d@drobilla.net>2020-08-13 17:25:38 +0200
commitc64c8bb33042f2e49eea2efb6e4bbff812e955c1 (patch)
treec698fb09e9a3ec461369d15fcbefeca805ceed1f /test
parentfe96927c5b3ad4bf44933a2b084f75d02365fa43 (diff)
downloadzix-c64c8bb33042f2e49eea2efb6e4bbff812e955c1.tar.gz
zix-c64c8bb33042f2e49eea2efb6e4bbff812e955c1.tar.bz2
zix-c64c8bb33042f2e49eea2efb6e4bbff812e955c1.zip
Fix unused macro warning on MacOS
Diffstat (limited to 'test')
-rw-r--r--test/test_malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_malloc.c b/test/test_malloc.c
index 5803f93..7be62ff 100644
--- a/test/test_malloc.c
+++ b/test/test_malloc.c
@@ -14,7 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef __APPLE__
#define _GNU_SOURCE
+#endif
#include "test_malloc.h"