include/SDL_stdinc.h
changeset 14209 467540bb2114
parent 13940 92ea0212b095
child 14309 dbc6eb98c6ad
     1.1 --- a/include/SDL_stdinc.h	Wed Oct 28 14:03:05 2020 +0100
     1.2 +++ b/include/SDL_stdinc.h	Thu Oct 29 20:00:20 2020 +0300
     1.3 @@ -30,6 +30,10 @@
     1.4  
     1.5  #include "SDL_config.h"
     1.6  
     1.7 +#ifdef __APPLE__
     1.8 +#define _DARWIN_C_SOURCE /* for memset_pattern4() */
     1.9 +#endif
    1.10 +
    1.11  #ifdef HAVE_SYS_TYPES_H
    1.12  #include <sys/types.h>
    1.13  #endif