- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / libraries / nacl_io / osstat.h
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
3  * found in the LICENSE file. */
4
5 #ifndef LIBRARIES_NACL_IO_OSSTAT_H_
6 #define LIBRARIES_NACL_IO_OSSTAT_H_
7
8 #include <sys/stat.h>
9
10 #if defined(WIN32)
11 #define S_IFCHR _S_IFCHR
12 #define S_IFDIR _S_IFDIR
13 #define S_IFIFO _S_IFIFO
14 #define S_IFREG _S_IFREG
15 #define S_IFMT _S_IFMT
16 #define S_IFSOCK _S_IFIFO
17
18 #define S_IREAD _S_IREAD
19 #define S_IWRITE _S_IWRITE
20 #define S_IEXEC _S_IEXEC
21 #endif
22
23 #endif  /* LIBRARIES_NACL_IO_OSSTAT_H_ */