ifdefine

Conditional Directory Index In Htaccess

This relates to the question in: http://stackoverflow.com/questions/1599717/conditional-directoryindex-in-htaccess The answer states that the following should work: SetEnvIf Remote_Addr ^127\.0\.0\.0$ owner <IfDefine owner> DirectoryIndex index.html </IfDefine> <IfDefine !owner> DirectoryIndex index.php </IfDefine> I am not ...

#ifdef macros for versions controlling

Hi!, I use macros to differ the versions but I can't force it to work properly. I used: #ifdef _IPHONE_4_0 [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade]; #else [[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES]; #endif and #if __IPHONE_OS_VERSION_MAX_ALL...