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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/ninja/action_dependencies/gyptest-action-dependencies.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 Google Inc. All rights reserved. 1 /* Copyright (c) 2012 Google Inc. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 #include <stdio.h> 6 #include <stdio.h>
7 7
8 #include "b.h" 8 #include "b.h"
9 9
10 int main(int argc, char** argv) { 10 int main(int argc, char** argv) {
11 FILE* f;
11 if (argc < 2) 12 if (argc < 2)
12 return 1; 13 return 1;
13 FILE* f = fopen(argv[1], "wt"); 14 f = fopen(argv[1], "wt");
14 fprintf(f, "#define VALUE %d\n", funcA()); 15 fprintf(f, "#define VALUE %d\n", funcA());
15 fclose(f); 16 fclose(f);
16 return 0; 17 return 0;
17 } 18 }
OLDNEW
« no previous file with comments | « test/ninja/action_dependencies/gyptest-action-dependencies.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698