Greetings, There are a lot of such questions on stackoverflow, but all of them about xcode version < 4, so I asking once more time:
How add preprocessor define gl
Select project in file browser, go to "build settings" and search for "preprocessor macros". Also .pch file is for global includes as well as global defines.