| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef WTF_Platform_h | 28 #ifndef WTF_Platform_h |
| 29 #define WTF_Platform_h | 29 #define WTF_Platform_h |
| 30 | 30 |
| 31 /* Include compiler specific macros */ | 31 /* Include compiler specific macros */ |
| 32 #include <wtf/Compiler.h> | 32 #include "wtf/Compiler.h" |
| 33 | 33 |
| 34 /* ==== Platform adaptation macros: these describe properties of the target envi
ronment. ==== */ | 34 /* ==== Platform adaptation macros: these describe properties of the target envi
ronment. ==== */ |
| 35 | 35 |
| 36 /* HAVE() - specific system features (headers, functions or similar) that are pr
esent or not */ | 36 /* HAVE() - specific system features (headers, functions or similar) that are pr
esent or not */ |
| 37 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) | 37 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) |
| 38 /* OS() - underlying operating system; only to be used for mandated low-level se
rvices like | 38 /* OS() - underlying operating system; only to be used for mandated low-level se
rvices like |
| 39 virtual memory, not to choose a GUI toolkit */ | 39 virtual memory, not to choose a GUI toolkit */ |
| 40 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) | 40 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) |
| 41 | 41 |
| 42 /* ==== Policy decision macros: these define policy choices for a particular por
t. ==== */ | 42 /* ==== Policy decision macros: these define policy choices for a particular por
t. ==== */ |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 #endif /* OS(DARWIN) */ | 175 #endif /* OS(DARWIN) */ |
| 176 | 176 |
| 177 #if OS(WINDOWS) | 177 #if OS(WINDOWS) |
| 178 #define HAVE_SYS_TIMEB_H 1 | 178 #define HAVE_SYS_TIMEB_H 1 |
| 179 #define HAVE_ALIGNED_MALLOC 1 | 179 #define HAVE_ALIGNED_MALLOC 1 |
| 180 #define HAVE_ISDEBUGGERPRESENT 1 | 180 #define HAVE_ISDEBUGGERPRESENT 1 |
| 181 #define HAVE_VIRTUALALLOC 1 | 181 #define HAVE_VIRTUALALLOC 1 |
| 182 #endif | 182 #endif |
| 183 | 183 |
| 184 #endif /* WTF_Platform_h */ | 184 #endif /* WTF_Platform_h */ |
| OLD | NEW |