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

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

Issue 1357833002: win: Get Crashpad compiling under VS2015 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: include Created 5 years, 3 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/settings.cc ('k') | compat/win/time.h » ('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 b6463a0c9b1e13e6b665517f9211f0a28ae40712..317973211fe5d9b07feb0b677dcb02ddd5218b67 100644
--- a/compat/win/sys/types.h
+++ b/compat/win/sys/types.h
@@ -16,7 +16,11 @@
#define CRASHPAD_COMPAT_WIN_SYS_TYPES_H_
// This is intended to be roughly equivalent to #include_next.
+#if _MSC_VER < 1900
#include <../include/sys/types.h>
+#else
+#include <../ucrt/sys/types.h>
+#endif
#include <stdint.h>
« no previous file with comments | « client/settings.cc ('k') | compat/win/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698