Browse Source

platform/posix: fix _GNU_SOURCE define in lib_posix

pull/2/head
mittorn 5 years ago
parent
commit
37435365e2
  1. 4
      engine/platform/posix/lib_posix.c

4
engine/platform/posix/lib_posix.c

@ -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"

Loading…
Cancel
Save