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

Side by Side Diff: Source/config.h

Issue 15923004: WebCorePrefix.h is only used for Mac OS X. Clean up dead code and remove including wtf/Platform.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename WebCorePrefix.h to WebCorePrefixMac.h Created 7 years, 7 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
« no previous file with comments | « Source/bindings/bindings.gyp ('k') | Source/core/WebCorePrefix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 18 matching lines...) Expand all
29 #define max max 29 #define max max
30 #endif 30 #endif
31 #ifndef min 31 #ifndef min
32 #define min min 32 #define min min
33 #endif 33 #endif
34 34
35 #endif /* OS(WINDOWS) */ 35 #endif /* OS(WINDOWS) */
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 38
39 // These undefs match up with defines in WebCorePrefix.h for Mac OS X. 39 // These undefs match up with defines in WebCorePrefixMac.h for Mac OS X.
40 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h". 40 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h".
41 #undef new 41 #undef new
42 #undef delete 42 #undef delete
43 #include <wtf/FastMalloc.h> 43 #include <wtf/FastMalloc.h>
44 44
45 #include <ciso646> 45 #include <ciso646>
46 46
47 #endif 47 #endif
48 48
49 #if COMPILER(MSVC) 49 #if COMPILER(MSVC)
50 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1 50 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1
51 #else 51 #else
52 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 52 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
53 #endif 53 #endif
OLDNEW
« no previous file with comments | « Source/bindings/bindings.gyp ('k') | Source/core/WebCorePrefix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698