update GM to use #ifdef instead of just #if
Review URL: https://codereview.chromium.org/25749003
git-svn-id: http://skia.googlecode.com/svn/trunk@11590 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/androidfallback.cpp b/gm/androidfallback.cpp
index 3ef8f1c..a4f1036 100644
--- a/gm/androidfallback.cpp
+++ b/gm/androidfallback.cpp
@@ -30,7 +30,7 @@
paint.setTextEncoding(SkPaint::kUTF16_TextEncoding);
paint.setTextSize(24);
-#if SK_BUILD_FOR_ANDROID
+#ifdef SK_BUILD_FOR_ANDROID
SkPaintOptionsAndroid options = paint.getPaintOptionsAndroid();
options.setUseFontFallbacks(true);
paint.setPaintOptionsAndroid(options);
@@ -58,7 +58,7 @@
canvas->translate(0, SkIntToScalar(75));
canvas->drawPosTextH(unicodeStr, strByteLength, posX, 0, paint);
-#if SK_BUILD_FOR_ANDROID
+#ifdef SK_BUILD_FOR_ANDROID
options.setLanguage("ja");
paint.setPaintOptionsAndroid(options);
#endif
@@ -80,7 +80,7 @@
//////////////////////////////////////////////////////////////////////////////
-#if SK_BUILD_FOR_ANDROID
+#ifdef SK_BUILD_FOR_ANDROID
DEF_GM( return SkNEW(AndroidFallbackGM); )
#endif