Implemented the Dynamic API magic.

--HG--
extra : rebase_source : 38f639089d3d142895d5cf106919a0bfbb65c5ed
This commit is contained in:
Ryan C. Gordon 2013-12-09 16:03:18 -05:00
parent 82edee6971
commit 63256a2384
21 changed files with 1808 additions and 1 deletions

View file

@ -296,8 +296,14 @@ SDL_RunThread(void *data)
}
}
#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
#ifdef SDL_CreateThread
#undef SDL_CreateThread
#endif
#if SDL_DYNAMIC_API
#define SDL_CreateThread SDL_CreateThread_REAL
#endif
#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
DECLSPEC SDL_Thread *SDLCALL
SDL_CreateThread(int (SDLCALL * fn) (void *),
const char *name, void *data,