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

Unified Diff: trunk/src/build/precompile.h

Issue 13977005: Revert 194506 "intsafe workaround to separate header" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | « trunk/src/build/intsafe_workaround.h ('k') | trunk/src/win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/build/precompile.h
===================================================================
--- trunk/src/build/precompile.h (revision 194506)
+++ trunk/src/build/precompile.h (working copy)
@@ -107,4 +107,21 @@
#include <utility>
#include <vector>
-#include "build/intsafe_workaround.h"
+// Workaround for:
+// http://connect.microsoft.com/VisualStudio/feedback/details/621653/
+// http://crbug.com/225822
+// Note that we can't actually include <stdint.h> here because there's other
+// code in third_party that has partial versions of stdint types that conflict.
+#include <intsafe.h>
+#undef INT8_MIN
+#undef INT16_MIN
+#undef INT32_MIN
+#undef INT64_MIN
+#undef INT8_MAX
+#undef UINT8_MAX
+#undef INT16_MAX
+#undef UINT16_MAX
+#undef INT32_MAX
+#undef UINT32_MAX
+#undef INT64_MAX
+#undef UINT64_MAX
« no previous file with comments | « trunk/src/build/intsafe_workaround.h ('k') | trunk/src/win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698