| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #ifdef ANDROID | 46 #ifdef ANDROID |
| 47 #define WTF_OS_ANDROID 1 | 47 #define WTF_OS_ANDROID 1 |
| 48 /* OS(LINUX) - Linux */ | 48 /* OS(LINUX) - Linux */ |
| 49 #elif defined(__linux__) | 49 #elif defined(__linux__) |
| 50 #define WTF_OS_LINUX 1 | 50 #define WTF_OS_LINUX 1 |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 /* Always OS(POSIX) */ | 53 /* Always OS(POSIX) */ |
| 54 #define WTF_OS_POSIX 1 | 54 #define WTF_OS_POSIX 1 |
| 55 | 55 |
| 56 #ifdef __APPLE__ |
| 57 /* OS(MACOSX) - Mac and iOS */ |
| 58 #define WTF_OS_MACOSX 1 |
| 59 #include <TargetConditionals.h> |
| 60 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR |
| 61 /* OS(IOS) - iOS */ |
| 62 #define WTF_OS_IOS 1 |
| 63 #endif |
| 64 #endif /* __APPLE__ */ |
| 65 |
| 56 /* Operating environments */ | 66 /* Operating environments */ |
| 57 | 67 |
| 58 #if OS(ANDROID) | 68 #if OS(ANDROID) |
| 59 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 | 69 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 |
| 60 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 | 70 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 |
| 61 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 | 71 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 |
| 62 #else | 72 #else |
| 63 #define WTF_USE_ICCJPEG 1 | 73 #define WTF_USE_ICCJPEG 1 |
| 64 #define WTF_USE_QCMSLIB 1 | 74 #define WTF_USE_QCMSLIB 1 |
| 65 #endif | 75 #endif |
| (...skipping 12 matching lines...) Expand all Loading... |
| 78 | 88 |
| 79 #ifdef __cplusplus | 89 #ifdef __cplusplus |
| 80 | 90 |
| 81 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". | 91 // Helps us catch if anyone uses new or delete by accident in code and doesn't i
nclude "config.h". |
| 82 #undef new | 92 #undef new |
| 83 #undef delete | 93 #undef delete |
| 84 #include <ciso646> | 94 #include <ciso646> |
| 85 #include <cstddef> | 95 #include <cstddef> |
| 86 | 96 |
| 87 #endif | 97 #endif |
| OLD | NEW |