OLD | NEW |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // These undefs match up with defines in WebCorePrefix.h for Mac OS X. | 61 // These undefs match up with defines in WebCorePrefix.h for Mac OS X. |
62 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". | 62 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". |
63 #undef new | 63 #undef new |
64 #undef delete | 64 #undef delete |
65 #include <wtf/FastMalloc.h> | 65 #include <wtf/FastMalloc.h> |
66 | 66 |
67 #include <ciso646> | 67 #include <ciso646> |
68 | 68 |
69 #endif | 69 #endif |
70 | 70 |
71 #include <wtf/DisallowCType.h> | |
72 | |
73 #if COMPILER(MSVC) | 71 #if COMPILER(MSVC) |
74 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1 | 72 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1 |
75 #else | 73 #else |
76 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 | 74 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 |
77 #endif | 75 #endif |
78 | 76 |
79 // Chromium uses this file instead of JavaScriptCore/config.h to compile | 77 // Chromium uses this file instead of JavaScriptCore/config.h to compile |
80 // JavaScriptCore/wtf (chromium doesn't compile the rest of JSC). Therefore, | 78 // JavaScriptCore/wtf (chromium doesn't compile the rest of JSC). Therefore, |
81 // this define is required. | 79 // this define is required. |
82 #define WTF_CHANGES 1 | 80 #define WTF_CHANGES 1 |
OLD | NEW |