Index: native_client_sdk/src/libraries/nacl_mounts/ostypes.h |
diff --git a/native_client_sdk/src/libraries/nacl_mounts/ostypes.h b/native_client_sdk/src/libraries/nacl_mounts/ostypes.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39fa145ee59f8b8030941c1f7ab70441315db0d3 |
--- /dev/null |
+++ b/native_client_sdk/src/libraries/nacl_mounts/ostypes.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_OSTYPES_H_ |
+#define LIBRARIES_NACL_MOUNTS_OSTYPES_H_ |
+ |
+#include <sys/types.h> |
+ |
+#if defined(WIN32) |
+ |
+#include <BaseTsd.h> |
+ |
+typedef int mode_t; |
+typedef SSIZE_T ssize_t; |
+ |
+#endif |
+ |
+#endif // LIBRARIES_NACL_MOUNTS_OSTYPES_H_ |