isTarget*() calls are order-dependent. This is because iOS Sim *is* iOS. This means checks for the simulator version of the platform must always be ahead of checks for the embedded platform.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
You should be able to use the switch like in Darwin::getOSLibraryNameSuffix(), right? That's much better.
Comment Actions
Updates based on Anna's polite and restrained feedback that didn't include the appropriate comment "Why don't you fix your TODO?" (I did fix it this time).