Define _GNU_SOURCE when building SDL

This commit is contained in:
Sam Lantinga 2016-11-11 13:14:00 -08:00
parent 47867431c7
commit c5767b9997
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>