Mercurial > sdl-ios-xcode
view src/video/uikit/jumphack.c @ 4445:06becafcac89
Test for system version in the Apple Recommended way.
(a similar test is output by Xcode for the iPhone View Application template).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 01 May 2010 13:50:56 -0400 |
parents | f55c87ae336b |
children | e8045ba3f79f |
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() { return &env; }