From adc8d07a210adcea86024121b53f28170141dae4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Apr 2022 16:42:41 -0400 Subject: Move reserved platform defines from code to build system Numerous things warn about this, and it's generally a bad idea to put these in the code since it can result in incompatibly compiled code being linked together. Unfortunately this makes building manually (without the build system) more fiddly, but such is life. --- examples/file_utils.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/file_utils.c') diff --git a/examples/file_utils.c b/examples/file_utils.c index 3b7c530..f769dc6 100644 --- a/examples/file_utils.c +++ b/examples/file_utils.c @@ -1,10 +1,6 @@ // Copyright 2019-2020 David Robillard // SPDX-License-Identifier: ISC -#if !defined(__APPLE__) && !defined(_GNU_SOURCE) -# define _GNU_SOURCE -#endif - #include "file_utils.h" #ifdef _WIN32 -- cgit v1.2.1