Mercurial > sdl-ios-xcode
view src/video/uikit/jumphack.c @ 5024:38638d228a22
Not all MinGW compilers have intrin.h, so we'll only use this with Visual Studio.
That's actually okay, since gcc has the builtin atomic intrinsics. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 18 Jan 2011 15:07:53 -0800 |
parents | e8045ba3f79f |
children |
line wrap: on
line source
/* * jumphack.c * SDLiPhoneOS * */ #include "jumphack.h" /* see SDL_uikitevents.m for more info */ /* stores the information we need to jump back */ jmp_buf env; /* returns the jump environment for setting / getting purposes */ jmp_buf * jump_env(void) { return &env; }