Skip to content

Commit

Permalink
SDL_stdinc.h: define _DARWIN_C_SOURCE on macOS for memset_pattern4()
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 29, 2020
1 parent 311ae82 commit 79221e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL_stdinc.h
Expand Up @@ -30,6 +30,10 @@

#include "SDL_config.h"

#ifdef __APPLE__
#define _DARWIN_C_SOURCE /* for memset_pattern4() */
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
Expand Down

0 comments on commit 79221e8

Please sign in to comment.