Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/osstat.h

Issue 10829027: [NaCl SDK] Add nacl_mounts to NaCl SDK build. Experimental for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync again Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_mounts/osstat.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/osstat.h b/native_client_sdk/src/libraries/nacl_mounts/osstat.h
new file mode 100644
index 0000000000000000000000000000000000000000..c11ea359ac6a85f2645484cd6e3a4d3c40356b7c
--- /dev/null
+++ b/native_client_sdk/src/libraries/nacl_mounts/osstat.h
@@ -0,0 +1,19 @@
+/* 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_IFMT _S_IFMT
+#define S_IFREG _S_IFREG
+#define S_IREAD _S_IREAD
+#define S_IWRITE _S_IWRITE
+#endif
+
+#endif // LIBRARIES_NACL_MOUNTS_OSSTAT_H_
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/osdirent.h ('k') | native_client_sdk/src/libraries/nacl_mounts/ostypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698