platform/posix: fix _GNU_SOURCE define in lib_posix
This commit is contained in:
parent
94fc0febc7
commit
37435365e2
1 changed files with 3 additions and 1 deletions
|
@ -12,9 +12,11 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "platform/platform.h"
|
||||
#if XASH_LIB == LIB_POSIX
|
||||
#define _GNU_SOURCE
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "library.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue