Mercurial > sdl-ios-xcode
view include/SDL_name.h @ 3498:a4ce84c4f211
Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0.
I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 30 Nov 2009 19:52:34 +0000 |
parents | d2d48e10f370 |
children |
line wrap: on
line source
#ifndef _SDLname_h_ #define _SDLname_h_ #if defined(__STDC__) || defined(__cplusplus) #define NeedFunctionPrototypes 1 #endif #define SDL_NAME(X) SDL_##X #endif /* _SDLname_h_ */