| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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_OSUNISTD_H_ | 5 #ifndef LIBRARIES_NACL_IO_OSUNISTD_H_ |
| 6 #define LIBRARIES_NACL_IO_OSUNISTD_H_ | 6 #define LIBRARIES_NACL_IO_OSUNISTD_H_ |
| 7 | 7 |
| 8 #if defined(WIN32) | 8 #if defined(WIN32) |
| 9 | 9 |
| 10 #define R_OK 4 | 10 #define R_OK 4 |
| 11 #define W_OK 2 | 11 #define W_OK 2 |
| 12 #define X_OK 1 | 12 #define X_OK 1 |
| 13 #define F_OK 0 | 13 #define F_OK 0 |
| 14 | 14 |
| 15 #else | 15 #else |
| 16 | 16 |
| 17 #include <unistd.h> | 17 #include <unistd.h> |
| 18 | 18 |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 #endif // LIBRARIES_NACL_IO_OSUNISTD_H_ | 21 #endif /* LIBRARIES_NACL_IO_OSUNISTD_H_ */ |
| 22 | |
| OLD | NEW |