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

Unified Diff: test/cflags/cflags.c

Issue 23140009: Rework the cflags test so it works cross platform. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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/cflags/cflags.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cflags/cflags.c
===================================================================
--- test/cflags/cflags.c (revision 1697)
+++ test/cflags/cflags.c (working copy)
@@ -6,10 +6,10 @@
int main(int argc, char *argv[])
{
-#ifdef __OPTIMIZE__
- printf("Using an optimization flag\n");
+#ifdef FOO
+ printf("FOO defined\n");
#else
- printf("Using no optimization flag\n");
+ printf("FOO not defined\n");
#endif
return 0;
}
« no previous file with comments | « no previous file | test/cflags/cflags.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698