mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-06 21:37:47 +00:00
include: SDL_dynapi.h depends on platform defines
This commit is contained in:
committed by
Anonymous Maarten
parent
d94f2a9ee5
commit
f91a747549
@@ -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() */
|
||||
|
||||
Reference in New Issue
Block a user