project_files/HedgewarsMobile/Hedgewars_Prefix.pch
changeset 3513 f589230fa21b
parent 3487 b1d00f1950c8
child 3663 8c28abf427f5
--- a/project_files/HedgewarsMobile/Hedgewars_Prefix.pch	Thu Jun 17 11:42:23 2010 -0400
+++ b/project_files/HedgewarsMobile/Hedgewars_Prefix.pch	Thu Jun 17 19:57:51 2010 +0200
@@ -21,3 +21,12 @@
 #endif
  
 #define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)
+
+#if !__IPHONE_3_2
+typedef enum {
+    UIUserInterfaceIdiomPhone,           // iPhone and iPod touch style UI
+    UIUserInterfaceIdiomPad,             // iPad style UI
+} UIUserInterfaceIdiom;
+#define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
+#define UIPopoverController id
+#endif // ifndef __IPHONE_3_2