Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / osunistd.h
blob9c0dbca5d7bfa9c8751065a2ea2c00e1b11f18ff
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
3 * found in the LICENSE file. */
5 #ifndef LIBRARIES_NACL_IO_OSUNISTD_H_
6 #define LIBRARIES_NACL_IO_OSUNISTD_H_
8 #if defined(WIN32)
10 #define R_OK 4
11 #define W_OK 2
12 #define X_OK 1
13 #define F_OK 0
15 #else
17 #include <unistd.h>
19 #endif
21 #endif /* LIBRARIES_NACL_IO_OSUNISTD_H_ */