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

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

Issue 19271009: [NaCl SDK} Add EventListener and EventEmitter to support epoll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge Created 7 years, 5 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_OSSTAT_H_ 5 #ifndef LIBRARIES_NACL_IO_OSSTAT_H_
6 #define LIBRARIES_NACL_IO_OSSTAT_H_ 6 #define LIBRARIES_NACL_IO_OSSTAT_H_
7 7
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 9
10 #if defined(WIN32) 10 #if defined(WIN32)
11 #define S_IFCHR _S_IFCHR 11 #define S_IFCHR _S_IFCHR
12 #define S_IFDIR _S_IFDIR 12 #define S_IFDIR _S_IFDIR
13 #define S_IFIFO _S_IFIFO 13 #define S_IFIFO _S_IFIFO
14 #define S_IFREG _S_IFREG 14 #define S_IFREG _S_IFREG
15 #define S_IFMT _S_IFMT 15 #define S_IFMT _S_IFMT
16 #define S_IFSOCK _S_IFIFO
16 17
17 #define S_IREAD _S_IREAD 18 #define S_IREAD _S_IREAD
18 #define S_IWRITE _S_IWRITE 19 #define S_IWRITE _S_IWRITE
19 #define S_IEXEC _S_IEXEC 20 #define S_IEXEC _S_IEXEC
20 #endif 21 #endif
21 22
22 #endif /* LIBRARIES_NACL_IO_OSSTAT_H_ */ 23 #endif /* LIBRARIES_NACL_IO_OSSTAT_H_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/library.dsc ('k') | native_client_sdk/src/libraries/nacl_io/ostime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698