Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: test/cxxflags/cxxflags.cc

Issue 235033003: Make test/cxxflags use a user define instead of __OPTIMIZE__ (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cxxflags/cxxflags.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cxxflags/cxxflags.cc
diff --git a/test/cxxflags/cxxflags.cc b/test/cxxflags/cxxflags.cc
index c1e2452070c7672933668663a2bb1c2b48828985..44b299c72d57fd56b077be17ba4e518487b60d5c 100644
--- a/test/cxxflags/cxxflags.cc
+++ b/test/cxxflags/cxxflags.cc
@@ -6,10 +6,10 @@
int main(int argc, char *argv[])
{
-#ifdef __OPTIMIZE__
- printf("Using an optimization flag\n");
+#ifdef ABC
+ printf("With define\n");
#else
- printf("Using no optimization flag\n");
+ printf("No define\n");
#endif
return 0;
}
« no previous file with comments | « no previous file | test/cxxflags/cxxflags.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698