mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 04:05:00 +08:00
Used rename_api.py to add previously renamed symbols to SDL_oldnames.h
This commit is contained in:
@@ -34,8 +34,26 @@
|
||||
*/
|
||||
#ifdef SDL_ENABLE_OLD_NAMES
|
||||
|
||||
/* ##SDL_platform.h */
|
||||
#define __IPHONEOS__ __IOS__
|
||||
#define __MACOSX__ __MACOS__
|
||||
|
||||
/* ##SDL_rwops.h */
|
||||
#define RW_SEEK_CUR SDL_RW_SEEK_CUR
|
||||
#define RW_SEEK_END SDL_RW_SEEK_END
|
||||
#define RW_SEEK_SET SDL_RW_SEEK_SET
|
||||
|
||||
#else /* !SDL_ENABLE_OLD_NAMES */
|
||||
|
||||
/* ##SDL_platform.h */
|
||||
#define __IPHONEOS__ __IPHONEOS___renamed___IOS__
|
||||
#define __MACOSX__ __MACOSX___renamed___MACOS__
|
||||
|
||||
/* ##SDL_rwops.h */
|
||||
#define RW_SEEK_CUR RW_SEEK_CUR_renamed_SDL_RW_SEEK_CUR
|
||||
#define RW_SEEK_END RW_SEEK_END_renamed_SDL_RW_SEEK_END
|
||||
#define RW_SEEK_SET RW_SEEK_SET_renamed_SDL_RW_SEEK_SET
|
||||
|
||||
#endif /* SDL_ENABLE_OLD_NAMES */
|
||||
|
||||
#endif /* SDL_oldnames_h_ */
|
||||
|
||||
Reference in New Issue
Block a user