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

Side by Side Diff: build/intsafe_workaround.h

Issue 14096011: reland of intsafe precompiled header fix from https://codereview.chromium.org/14201003/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/precompile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « no previous file | build/precompile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698