OLD | NEW |
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_MOUNTS_OSSTAT_H_ | 5 #ifndef LIBRARIES_NACL_IO_OSSTAT_H_ |
6 #define LIBRARIES_NACL_MOUNTS_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 | 16 |
17 #define S_IREAD _S_IREAD | 17 #define S_IREAD _S_IREAD |
18 #define S_IWRITE _S_IWRITE | 18 #define S_IWRITE _S_IWRITE |
19 #define S_IEXEC _S_IEXEC | 19 #define S_IEXEC _S_IEXEC |
20 #endif | 20 #endif |
21 | 21 |
22 #endif // LIBRARIES_NACL_MOUNTS_OSSTAT_H_ | 22 #endif // LIBRARIES_NACL_IO_OSSTAT_H_ |
OLD | NEW |