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

Unified Diff: compat/win/sys/types.h

Issue 983103004: win: fixes for Windows x64 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 5 years, 9 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
« no previous file with comments | « client/crash_report_database_win.cc ('k') | minidump/minidump_exception_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/win/sys/types.h
diff --git a/compat/win/sys/types.h b/compat/win/sys/types.h
index 40344c2a99993ae1a624f0990ae9d2f89b3b22b0..6cd8ab3d56427633313bd4f4711ab8101fa28710 100644
--- a/compat/win/sys/types.h
+++ b/compat/win/sys/types.h
@@ -18,12 +18,15 @@
// This is intended to be roughly equivalent to #include_next.
#include <../include/sys/types.h>
+#include <stdint.h>
+
#ifdef _WIN64
-typedef __int64 ssize_t;
+typedef int64_t ssize_t;
+typedef uint64_t pid_t;
#else
typedef __w64 int ssize_t;
+typedef __w64 unsigned int pid_t;
#endif
-typedef unsigned long pid_t;
#endif // CRASHPAD_COMPAT_WIN_SYS_TYPES_H_
« no previous file with comments | « client/crash_report_database_win.cc ('k') | minidump/minidump_exception_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698