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

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

Issue 883773005: win: Work towards getting 'minidump' to compile (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@crash-report-db-win
Patch Set: . Created 5 years, 11 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 | « no previous file | minidump/minidump_context.h » ('j') | minidump/minidump_context.h » ('J')
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 9b46cc260343d68eec991b63e03bdbea290bd5d3..cfd2ccaa7ad48c6de2ac21550afa067c8c99b618 100644
--- a/compat/win/sys/types.h
+++ b/compat/win/sys/types.h
@@ -21,7 +21,9 @@
#ifdef _WIN64
typedef __int64 ssize_t;
#else
-typedef _W64 int ssize_t;
Mark Mentovai 2015/02/02 22:10:28 I thought _W64 sounded correct for this when you a
scottmg 2015/02/02 22:31:45 Yeah, it does, I was just trying to avoid the need
Mark Mentovai 2015/02/02 22:57:21 scottmg wrote:
scottmg 2015/02/02 23:16:37 That's right. __w64 is compiler defined, not by an
Mark Mentovai 2015/02/02 23:32:08 Right, my point is: 1. _W64 was always __w64 for
scottmg 2015/02/03 18:12:56 Sorry, my explanations were too terse. The origin
Mark Mentovai 2015/02/03 18:26:32 Got it! Thanks for the explanation.
+typedef int ssize_t;
#endif
+typedef unsigned long pid_t;
+
#endif // CRASHPAD_COMPAT_WIN_SYS_TYPES_H_
« no previous file with comments | « no previous file | minidump/minidump_context.h » ('j') | minidump/minidump_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698