include: SDL_dynapi.h depends on platform defines
This commit is contained in:
parent
d94f2a9ee5
commit
f91a747549
29 changed files with 249 additions and 200 deletions
|
@ -49,17 +49,20 @@
|
|||
SDL_free(ptr); \
|
||||
}
|
||||
|
||||
#include "build_config/SDL_build_config.h"
|
||||
|
||||
#include "dynapi/SDL_dynapi.h"
|
||||
|
||||
#if SDL_DYNAMIC_API
|
||||
#include "dynapi/SDL_dynapi_overrides.h"
|
||||
/* force DECLSPEC off...it's all internal symbols now.
|
||||
These will have actual #defines during SDL_dynapi.c only */
|
||||
#ifdef DECLSPEC
|
||||
#undef DECLSPEC
|
||||
#endif
|
||||
#define DECLSPEC
|
||||
#endif
|
||||
|
||||
#include "build_config/SDL_build_config.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef _DARWIN_C_SOURCE
|
||||
#define _DARWIN_C_SOURCE 1 /* for memset_pattern4() */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue