aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/benchmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index 6f339529f2..80b7871c0a 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -908,7 +908,7 @@ int tool_main(int argc, char** argv) {
return 0;
}
-#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);
}