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 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 #ifdef __cplusplus | 128 #ifdef __cplusplus |
129 | 129 |
130 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X. | 130 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X. |
131 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". | 131 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". |
132 #undef new | 132 #undef new |
133 #undef delete | 133 #undef delete |
134 #include <ciso646> | 134 #include <ciso646> |
135 #include <cstddef> | 135 #include <cstddef> |
136 | 136 |
137 #endif | 137 #endif |
| 138 |
| 139 // Adopted from base/compiler_specific.h where you can find a detailed explanati
on. |
| 140 #if COMPILER(MSVC) |
| 141 #define STATIC_CONST_MEMBER_DEFINITION __declspec(selectany) |
| 142 #else |
| 143 #define STATIC_CONST_MEMBER_DEFINITION |
| 144 #endif |
OLD | NEW |