Index: build/precompile.h |
diff --git a/build/precompile.h b/build/precompile.h |
index a3c5193c611f48cb695259016dcb17fe04e44468..939750d711a71d61c4398cf9674ab38f16cc811e 100644 |
--- a/build/precompile.h |
+++ b/build/precompile.h |
@@ -106,3 +106,22 @@ |
#include <string> |
#include <utility> |
#include <vector> |
+ |
+// Workaround for: |
+// http://connect.microsoft.com/VisualStudio/feedback/details/621653/including-stdint-after-intsafe-generates-warnings |
Lei Zhang
2013/04/02 21:23:54
You can shorten this by excluding "/including.*$".
|
+// 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 |