fix mac
authorsglez@google.com <sglez@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:21:05 +0000 (20:21 +0000)
committersglez@google.com <sglez@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:21:05 +0000 (20:21 +0000)
BUG=

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10207 2bbb7eff-a529-9590-31e7-b0007b416f81

tools/bbh_shootout.cpp

index 5b1d134..d86e5ff 100644 (file)
@@ -380,7 +380,10 @@ int tool_main(int argc, char** argv) {
     return 0;
 }
 
+#if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
 int main(int argc, char** argv) {
     return tool_main(argc, argv);
 }
+#endif
+