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 18 matching lines...) Expand all Loading... |
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 |
OLD | NEW |