Define _GNU_SOURCE when building SDL

This commit is contained in:
Sam Lantinga
2016-11-11 13:14:00 -08:00
parent 7360e7876d
commit 8a080aef5c
8 changed files with 11 additions and 24 deletions

View File

@@ -20,9 +20,6 @@
*/
#include "../../SDL_internal.h"
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <errno.h>
#include <pthread.h>

View File

@@ -20,9 +20,6 @@
*/
#include "../../SDL_internal.h"
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>