platform/posix: fix _GNU_SOURCE define in lib_posix

This commit is contained in:
mittorn 2019-11-18 23:48:49 +07:00
parent 94fc0febc7
commit 37435365e2

View file

@ -12,9 +12,11 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
*/ */
#define _GNU_SOURCE
#include "platform/platform.h" #include "platform/platform.h"
#if XASH_LIB == LIB_POSIX #if XASH_LIB == LIB_POSIX
#define _GNU_SOURCE
#include "common.h" #include "common.h"
#include "library.h" #include "library.h"