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

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

Issue 176923017: [NaCl SDK] Compile for naclio for Bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in h_error Created 6 years, 8 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 "sdk_util/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 <sys/types.h>
22 #include <dirent.h> 23 #include <dirent.h>
23 24
24 #endif 25 #endif
25 26
26 #endif /* LIBRARIES_NACL_IO_OSDIRENT_H_ */ 27 #endif /* LIBRARIES_NACL_IO_OSDIRENT_H_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/library.dsc ('k') | native_client_sdk/src/libraries/nacl_io/ossignal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698