Browse Source

engine: platform: posix: don't redefine _GNU_SOURCE

pull/2/head
fgsfds 2 years ago committed by Alibek Omarov
parent
commit
f782d444a8
  1. 2
      engine/platform/posix/lib_posix.c

2
engine/platform/posix/lib_posix.c

@ -12,7 +12,9 @@ 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.
*/ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include "platform/platform.h" #include "platform/platform.h"
#if XASH_LIB == LIB_POSIX #if XASH_LIB == LIB_POSIX
#include <dlfcn.h> #include <dlfcn.h>

Loading…
Cancel
Save