Add SDL 2.0.1 headers for macOS PPC
code/libs/macosx/libSDL2-2.0.0.dylib has 2.0.8 for x86 and x86_64 and 2.0.1 for PPC. Add 2.0.1 headers for PPC with modifed SDL_platform.h to allow compiling using macOS 10.5 SDK. Using separate headers allows the engine to check the SDL version for enabling newer SDL features.
This commit is contained in:
parent
5bf60a9504
commit
45af2594a0
74 changed files with 26123 additions and 1 deletions
11
code/SDL2/include-macppc/SDL_name.h
Normal file
11
code/SDL2/include-macppc/SDL_name.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
#ifndef _SDLname_h_
|
||||
#define _SDLname_h_
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
#define NeedFunctionPrototypes 1
|
||||
#endif
|
||||
|
||||
#define SDL_NAME(X) SDL_##X
|
||||
|
||||
#endif /* _SDLname_h_ */
|
Loading…
Add table
Add a link
Reference in a new issue