mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-03-12 04:01:17 +01:00
fix bug #5394 - define _DARWIN_C_SOURCE only if not already defined
This commit is contained in:
parent
5c212cb0c5
commit
bca9decbda
@ -31,7 +31,9 @@
|
|||||||
#include "SDL_config.h"
|
#include "SDL_config.h"
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define _DARWIN_C_SOURCE /* for memset_pattern4() */
|
#ifndef _DARWIN_C_SOURCE
|
||||||
|
#define _DARWIN_C_SOURCE 1 /* for memset_pattern4() */
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user