OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BUILD_INTSAFE_WORKAROUND_H_ |
| 6 #define BUILD_INTSAFE_WORKAROUND_H_ |
| 7 |
| 8 // Workaround for: |
| 9 // http://connect.microsoft.com/VisualStudio/feedback/details/621653/ |
| 10 // http://crbug.com/225822 |
| 11 // Note that we can't actually include <stdint.h> here because there's other |
| 12 // code in third_party that has partial versions of stdint types that conflict. |
| 13 #include <intsafe.h> |
| 14 #undef INT8_MIN |
| 15 #undef INT16_MIN |
| 16 #undef INT32_MIN |
| 17 #undef INT64_MIN |
| 18 #undef INT8_MAX |
| 19 #undef UINT8_MAX |
| 20 #undef INT16_MAX |
| 21 #undef UINT16_MAX |
| 22 #undef INT32_MAX |
| 23 #undef UINT32_MAX |
| 24 #undef INT64_MAX |
| 25 #undef UINT64_MAX |
| 26 |
| 27 #endif // BUILD_INTSAFE_WORKAROUND_H_ |
OLD | NEW |