project_files/HedgewarsMobile/Hedgewars_Prefix.pch
changeset 3513 f589230fa21b
parent 3487 b1d00f1950c8
child 3663 8c28abf427f5
equal deleted inserted replaced
3512:6a8b5f313190 3513:f589230fa21b
    19   #endif
    19   #endif
    20   #define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
    20   #define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])
    21 #endif
    21 #endif
    22  
    22  
    23 #define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)
    23 #define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)
       
    24 
       
    25 #if !__IPHONE_3_2
       
    26 typedef enum {
       
    27     UIUserInterfaceIdiomPhone,           // iPhone and iPod touch style UI
       
    28     UIUserInterfaceIdiomPad,             // iPad style UI
       
    29 } UIUserInterfaceIdiom;
       
    30 #define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone
       
    31 #define UIPopoverController id
       
    32 #endif // ifndef __IPHONE_3_2