aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gmmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r--gm/gmmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 54bbd8b9eb..a4c88b1b6b 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1301,7 +1301,7 @@ int tool_main(int argc, char** argv) {
return (0 == testsFailed) ? 0 : -1;
}
-#if !defined SK_BUILD_FOR_IOS
+#if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
int main(int argc, char * const argv[]) {
return tool_main(argc, (char**) argv);
}