| 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. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
| 18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
| 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
| 21 * | 21 * |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 /* Include compiler specific macros */ | 24 /* Include compiler specific macros */ |
| 25 #include "wtf/Compiler.h" | 25 #include "sky/engine/wtf/Compiler.h" |
| 26 | 26 |
| 27 /* ==== Platform adaptation macros: these describe properties of the target envi
ronment. ==== */ | 27 /* ==== Platform adaptation macros: these describe properties of the target envi
ronment. ==== */ |
| 28 | 28 |
| 29 /* HAVE() - specific system features (headers, functions or similar) that are pr
esent or not */ | 29 /* HAVE() - specific system features (headers, functions or similar) that are pr
esent or not */ |
| 30 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) | 30 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) |
| 31 /* OS() - underlying operating system; only to be used for mandated low-level se
rvices like | 31 /* OS() - underlying operating system; only to be used for mandated low-level se
rvices like |
| 32 virtual memory, not to choose a GUI toolkit */ | 32 virtual memory, not to choose a GUI toolkit */ |
| 33 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) | 33 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) |
| 34 | 34 |
| 35 /* ==== Policy decision macros: these define policy choices for a particular por
t. ==== */ | 35 /* ==== Policy decision macros: these define policy choices for a particular por
t. ==== */ |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 #ifdef __cplusplus | 79 #ifdef __cplusplus |
| 80 | 80 |
| 81 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". | 81 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". |
| 82 #undef new | 82 #undef new |
| 83 #undef delete | 83 #undef delete |
| 84 #include <ciso646> | 84 #include <ciso646> |
| 85 #include <cstddef> | 85 #include <cstddef> |
| 86 | 86 |
| 87 #endif | 87 #endif |
| OLD | NEW |