IFDEF example in readme is wrong #29

Closed
alexbird opened this Issue Oct 7, 2011 · 0 comments

Comments

Projects
None yet
2 participants

alexbird commented Oct 7, 2011

TARGET_IPHONE_SIMULATOR is always defined, but its value is set to 1 or 0.

The correct way to do this is as follows:

if TARGET_IPHONE_SIMULATOR

[[DCIntrospect sharedIntrospector] start];

endif

e.g. using IF instead of IFDEF

domesticcatsoftware added a commit that referenced this issue Oct 11, 2011

Merge pull request #31 from gradha/corrects_ifdef_readme
Changes readme's #ifdef example to correct #if. Refs #29.

timd pushed a commit to timd/DCIntrospect that referenced this issue Dec 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment