Skip to content
Permalink
Browse files
SDL_stdinc.h: define _DARWIN_C_SOURCE on macOS for memset_pattern4()
  • Loading branch information
sezero committed Oct 29, 2020
1 parent 311ae82 commit 79221e85a00ee4d57563319cb6e8af936282cf3e
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/SDL_stdinc.h
@@ -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

0 comments on commit 79221e8

Please sign in to comment.