cocos2d/cocos2d-x — Issue #576: TargetConditionals.h could be included somewhere for iOS ?
Author: kikko
Created: 2011-11-21 17:40:29+00:00
State: open

Hi,

I just came across an issue where TARGET_IPHONE_SIMULATOR wasn't defined when I compiling for the iOS simulator.

I found out after some investigations that I needed to include the "TargetConditionals.h" file to get that macro defined.

Maybe that file could be added somewhere in iOS classes ? Not sure where though :/

thanks!