Commit 7f1cd3a3 authored by lliabraa's avatar lliabraa Committed by Commit bot

Replace #ifdef with #if TARGET_IPHONE_SIMULATOR.

This value is always defined, but only true on iphonesimulator.

BUG=417785

Review URL: https://codereview.chromium.org/595793004

Cr-Commit-Position: refs/heads/master@{#296923}
parent f406302b
......@@ -34,7 +34,7 @@ static char** g_argv;
- (void) _terminateWithStatus:(int)status;
@end
#ifdef TARGET_IPHONE_SIMULATOR
#if TARGET_IPHONE_SIMULATOR
// Xcode 6 introduced behavior in the iOS Simulator where the software
// keyboard does not appear if a hardware keyboard is connected. The following
// declaration allows this behavior to be overriden when the app starts up.
......@@ -57,7 +57,7 @@ static char** g_argv;
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#ifdef TARGET_IPHONE_SIMULATOR
#if TARGET_IPHONE_SIMULATOR
// Xcode 6 introduced behavior in the iOS Simulator where the software
// keyboard does not appear if a hardware keyboard is connected. The following
// calls override this behavior by ensuring that the software keyboard is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment