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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/osdirent.h

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 #ifndef LIBRARIES_NACL_IO_OSDIRENT_H_ 5 #ifndef LIBRARIES_NACL_IO_OSDIRENT_H_
6 #define LIBRARIES_NACL_IO_OSDIRENT_H_ 6 #define LIBRARIES_NACL_IO_OSDIRENT_H_
7 7
8 #if defined(WIN32) 8 #if defined(WIN32)
9 9
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include "utils/macros.h" 11 #include "sdk_util/macros.h"
12 12
13 struct dirent { 13 struct dirent {
14 _ino_t d_ino; 14 _ino_t d_ino;
15 _off_t d_off; 15 _off_t d_off;
16 unsigned short int d_reclen; 16 unsigned short int d_reclen;
17 char d_name[256]; 17 char d_name[256];
18 }; 18 };
19 19
20 #else 20 #else
21 21
22 #include <dirent.h> 22 #include <dirent.h>
23 23
24 #endif 24 #endif
25 25
26 #endif // LIBRARIES_NACL_IO_OSDIRENT_H_ 26 #endif // LIBRARIES_NACL_IO_OSDIRENT_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_mounts.vcproj ('k') | native_client_sdk/src/libraries/nacl_io/path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698