diff -r 6a8b5f313190 -r f589230fa21b project_files/HedgewarsMobile/Hedgewars_Prefix.pch --- 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