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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 || OS(MACOSX) \ | 81 || OS(MACOSX) \ |
82 || OS(FREEBSD) \ | 82 || OS(FREEBSD) \ |
83 || OS(LINUX) \ | 83 || OS(LINUX) \ |
84 || OS(OPENBSD) \ | 84 || OS(OPENBSD) \ |
85 || defined(unix) \ | 85 || defined(unix) \ |
86 || defined(__unix) \ | 86 || defined(__unix) \ |
87 || defined(__unix__) | 87 || defined(__unix__) |
88 #define WTF_OS_POSIX 1 | 88 #define WTF_OS_POSIX 1 |
89 #endif | 89 #endif |
90 | 90 |
| 91 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set
. */ |
| 92 #if !OS(WIN) && !OS(POSIX) |
| 93 #error Either OS(WIN) or OS(POSIX) needs to be set. |
| 94 #endif |
| 95 |
91 /* Operating environments */ | 96 /* Operating environments */ |
92 | 97 |
93 #if OS(ANDROID) | 98 #if OS(ANDROID) |
94 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 | 99 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 |
95 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 | 100 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 |
96 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 | 101 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 |
97 #else | 102 #else |
98 #define WTF_USE_ICCJPEG 1 | 103 #define WTF_USE_ICCJPEG 1 |
99 #define WTF_USE_QCMSLIB 1 | 104 #define WTF_USE_QCMSLIB 1 |
100 #endif | 105 #endif |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 | 174 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 |
170 #endif | 175 #endif |
171 | 176 |
172 #ifndef __STDC_FORMAT_MACROS | 177 #ifndef __STDC_FORMAT_MACROS |
173 #define __STDC_FORMAT_MACROS 1 | 178 #define __STDC_FORMAT_MACROS 1 |
174 #endif | 179 #endif |
175 | 180 |
176 #if OS(LINUX) || OS(ANDROID) | 181 #if OS(LINUX) || OS(ANDROID) |
177 #define WTF_USE_HARFBUZZ 1 | 182 #define WTF_USE_HARFBUZZ 1 |
178 #endif | 183 #endif |
OLD | NEW |