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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 /* OS(FREEBSD) - FreeBSD */ | 59 /* OS(FREEBSD) - FreeBSD */ |
60 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) | 60 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__
) |
61 #define WTF_OS_FREEBSD 1 | 61 #define WTF_OS_FREEBSD 1 |
62 #endif | 62 #endif |
63 | 63 |
64 /* OS(LINUX) - Linux */ | 64 /* OS(LINUX) - Linux */ |
65 #ifdef __linux__ | 65 #ifdef __linux__ |
66 #define WTF_OS_LINUX 1 | 66 #define WTF_OS_LINUX 1 |
67 #endif | 67 #endif |
68 | 68 |
69 /* OS(NETBSD) - NetBSD */ | |
70 #if defined(__NetBSD__) | |
71 #define WTF_OS_NETBSD 1 | |
72 #endif | |
73 | |
74 /* OS(OPENBSD) - OpenBSD */ | 69 /* OS(OPENBSD) - OpenBSD */ |
75 #ifdef __OpenBSD__ | 70 #ifdef __OpenBSD__ |
76 #define WTF_OS_OPENBSD 1 | 71 #define WTF_OS_OPENBSD 1 |
77 #endif | 72 #endif |
78 | 73 |
79 /* OS(WINDOWS) - Any version of Windows */ | 74 /* OS(WINDOWS) - Any version of Windows */ |
80 #if defined(WIN32) || defined(_WIN32) | 75 #if defined(WIN32) || defined(_WIN32) |
81 #define WTF_OS_WINDOWS 1 | 76 #define WTF_OS_WINDOWS 1 |
82 #endif | 77 #endif |
83 | 78 |
84 /* OS(UNIX) - Any Unix-like system */ | 79 /* OS(UNIX) - Any Unix-like system */ |
85 #if OS(ANDROID) \ | 80 #if OS(ANDROID) \ |
86 || OS(MACOSX) \ | 81 || OS(MACOSX) \ |
87 || OS(FREEBSD) \ | 82 || OS(FREEBSD) \ |
88 || OS(LINUX) \ | 83 || OS(LINUX) \ |
89 || OS(NETBSD) \ | |
90 || OS(OPENBSD) \ | 84 || OS(OPENBSD) \ |
91 || defined(unix) \ | 85 || defined(unix) \ |
92 || defined(__unix) \ | 86 || defined(__unix) \ |
93 || defined(__unix__) | 87 || defined(__unix__) |
94 #define WTF_OS_UNIX 1 | 88 #define WTF_OS_UNIX 1 |
95 #endif | 89 #endif |
96 | 90 |
97 /* Operating environments */ | 91 /* Operating environments */ |
98 | 92 |
99 #if OS(ANDROID) | 93 #if OS(ANDROID) |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 | 169 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 |
176 #endif | 170 #endif |
177 | 171 |
178 #ifndef __STDC_FORMAT_MACROS | 172 #ifndef __STDC_FORMAT_MACROS |
179 #define __STDC_FORMAT_MACROS 1 | 173 #define __STDC_FORMAT_MACROS 1 |
180 #endif | 174 #endif |
181 | 175 |
182 #if OS(LINUX) || OS(ANDROID) | 176 #if OS(LINUX) || OS(ANDROID) |
183 #define WTF_USE_HARFBUZZ 1 | 177 #define WTF_USE_HARFBUZZ 1 |
184 #endif | 178 #endif |
OLD | NEW |