summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/nacl_mounts/osstat.h
blob: b02c2af28d7485113b68a6159914adcbda1017db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#ifndef LIBRARIES_NACL_MOUNTS_OSSTAT_H_
#define LIBRARIES_NACL_MOUNTS_OSSTAT_H_

#include <sys/stat.h>

#if defined(WIN32)
#define S_IFCHR _S_IFCHR
#define S_IFDIR _S_IFDIR
#define S_IFIFO _S_IFIFO
#define S_IFREG _S_IFREG
#define S_IFMT _S_IFMT

#define S_IREAD _S_IREAD
#define S_IWRITE _S_IWRITE
#define S_IEXEC _S_IEXEC
#endif

#endif  // LIBRARIES_NACL_MOUNTS_OSSTAT_H_