OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkPreConfig_DEFINED | 10 #ifndef SkPreConfig_DEFINED |
(...skipping 12 matching lines...) Expand all Loading... |
23 #endif | 23 #endif |
24 | 24 |
25 #if defined(PALMOS_SDK_VERSION) | 25 #if defined(PALMOS_SDK_VERSION) |
26 #define SK_BUILD_FOR_PALM | 26 #define SK_BUILD_FOR_PALM |
27 #elif defined(UNDER_CE) | 27 #elif defined(UNDER_CE) |
28 #define SK_BUILD_FOR_WINCE | 28 #define SK_BUILD_FOR_WINCE |
29 #elif defined(WIN32) | 29 #elif defined(WIN32) |
30 #define SK_BUILD_FOR_WIN32 | 30 #define SK_BUILD_FOR_WIN32 |
31 #elif defined(__SYMBIAN32__) | 31 #elif defined(__SYMBIAN32__) |
32 #define SK_BUILD_FOR_WIN32 | 32 #define SK_BUILD_FOR_WIN32 |
33 #elif defined(linux) || defined(__OpenBSD__) | 33 #elif defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ |
| 34 defined(__sun) || defined(__NetBSD__) || defined(__DragonFly__) |
34 #define SK_BUILD_FOR_UNIX | 35 #define SK_BUILD_FOR_UNIX |
35 #elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR | 36 #elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR |
36 #define SK_BUILD_FOR_IOS | 37 #define SK_BUILD_FOR_IOS |
37 #elif defined(ANDROID_NDK) | 38 #elif defined(ANDROID_NDK) |
38 #define SK_BUILD_FOR_ANDROID_NDK | 39 #define SK_BUILD_FOR_ANDROID_NDK |
39 #elif defined(ANDROID) | 40 #elif defined(ANDROID) |
40 #define SK_BUILD_FOR_ANDROID | 41 #define SK_BUILD_FOR_ANDROID |
41 #else | 42 #else |
42 #define SK_BUILD_FOR_MAC | 43 #define SK_BUILD_FOR_MAC |
43 #endif | 44 #endif |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 #endif | 116 #endif |
116 #else | 117 #else |
117 #define SK_API __attribute__((visibility("default"))) | 118 #define SK_API __attribute__((visibility("default"))) |
118 #endif | 119 #endif |
119 #else | 120 #else |
120 #define SK_API | 121 #define SK_API |
121 #endif | 122 #endif |
122 | 123 |
123 #endif | 124 #endif |
124 | 125 |
OLD | NEW |