From c64c8bb33042f2e49eea2efb6e4bbff812e955c1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 17:25:38 +0200 Subject: Fix unused macro warning on MacOS --- test/test_malloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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" -- cgit v1.2.1