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

Unified Diff: test/ninja/action_dependencies/src/b.c

Issue 9425036: make action_dependencies test win32 and c89 friendly (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 10 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
Index: test/ninja/action_dependencies/src/b.c
===================================================================
--- test/ninja/action_dependencies/src/b.c (revision 1210)
+++ test/ninja/action_dependencies/src/b.c (working copy)
@@ -8,9 +8,10 @@
#include "b.h"
int main(int argc, char** argv) {
+ FILE* f;
if (argc < 2)
return 1;
- FILE* f = fopen(argv[1], "wt");
+ f = fopen(argv[1], "wt");
fprintf(f, "#define VALUE %d\n", funcA());
fclose(f);
return 0;

Powered by Google App Engine
This is Rietveld 408576698