Index: compat/win/sys/types.h |
diff --git a/client/simulate_crash.h b/compat/win/sys/types.h |
similarity index 68% |
copy from client/simulate_crash.h |
copy to compat/win/sys/types.h |
index aa4625e2f2820198c8bbc0f1e41b5f4b9e9328ae..5038eb3354426ee008cd41427aa66a9590deaf19 100644 |
--- a/client/simulate_crash.h |
+++ b/compat/win/sys/types.h |
@@ -12,13 +12,16 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
-#ifndef CRASHPAD_CLIENT_SIMULATE_CRASH_H_ |
-#define CRASHPAD_CLIENT_SIMULATE_CRASH_H_ |
+#ifndef CRASHPAD_COMPAT_WIN_SYS_TYPES_H_ |
+#define CRASHPAD_COMPAT_WIN_SYS_TYPES_H_ |
-#include "build/build_config.h" |
+// This is intended to be roughly equivalent to #include_next. |
+#include <../include/sys/types.h> |
-#if defined(OS_MACOSX) |
-#include "client/simulate_crash_mac.h" |
+#ifdef _WIN64 |
+typedef __int64 ssize_t; |
+#else |
+typedef _W64 int ssize_t; |
#endif |
-#endif // CRASHPAD_CLIENT_SIMULATE_CRASH_H_ |
+#endif // CRASHPAD_COMPAT_WIN_SYS_TYPES_H_ |
Mark Mentovai
2014/12/10 19:33:03
There’s supposed to be an extra space between #end
scottmg
2014/12/10 19:39:24
Oops, done.
|