--- a/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h Sun Apr 04 16:38:00 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.h Sun Apr 04 19:51:53 2010 +0000
@@ -44,3 +44,14 @@
-(void) startSDLgame;
@end
+
+#ifndef __IPHONE_3_2 // if iPhoneOS is 3.2 or greater then __IPHONE_3_2 will be defined
+
+typedef enum {
+ UIUserInterfaceIdiomPhone, // iPhone and iPod touch style UI
+ UIUserInterfaceIdiomPad, // iPad style UI
+} UIUserInterfaceIdiom;
+
+#define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
+
+#endif // ifndef __IPHONE_3_2