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

Side by Side Diff: native_client_sdk/src/examples/demo/flock/flock.cc

Issue 22642016: [NaCL SDK] Ship sys/mount.h for newlib/pnacl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add extern C 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. 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 #include <stdio.h> 5 #include <stdio.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 #include <sys/mount.h>
8 9
9 #include <algorithm> 10 #include <algorithm>
10 #include <sstream> 11 #include <sstream>
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "nacl_io/nacl_io.h"
15
16 #include "ppapi/c/pp_rect.h" 15 #include "ppapi/c/pp_rect.h"
17 #include "ppapi/c/pp_size.h" 16 #include "ppapi/c/pp_size.h"
18 17
19 #include "ppapi_simple/ps_context_2d.h" 18 #include "ppapi_simple/ps_context_2d.h"
20 #include "ppapi_simple/ps_main.h" 19 #include "ppapi_simple/ps_main.h"
21 20
22 #include "goose.h" 21 #include "goose.h"
23 #include "sprite.h" 22 #include "sprite.h"
24 #include "vector2.h" 23 #include "vector2.h"
25 24
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 140 }
142 141
143 return 0; 142 return 0;
144 } 143 }
145 144
146 /* 145 /*
147 * Register the function to call once the Instance Object is initialized. 146 * Register the function to call once the Instance Object is initialized.
148 * see: pappi_simple/ps_main.h 147 * see: pappi_simple/ps_main.h
149 */ 148 */
150 PPAPI_SIMPLE_REGISTER_MAIN(example_main); 149 PPAPI_SIMPLE_REGISTER_MAIN(example_main);
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698