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) | 33 #elif defined(linux) || defined(__OpenBSD__) |
34 #define SK_BUILD_FOR_UNIX | 34 #define SK_BUILD_FOR_UNIX |
35 #elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR | 35 #elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR |
36 #define SK_BUILD_FOR_IOS | 36 #define SK_BUILD_FOR_IOS |
37 #elif defined(ANDROID_NDK) | 37 #elif defined(ANDROID_NDK) |
38 #define SK_BUILD_FOR_ANDROID_NDK | 38 #define SK_BUILD_FOR_ANDROID_NDK |
39 #elif defined(ANROID) | 39 #elif defined(ANROID) |
40 #define SK_BUILD_FOR_ANDROID | 40 #define SK_BUILD_FOR_ANDROID |
41 #else | 41 #else |
42 #define SK_BUILD_FOR_MAC | 42 #define SK_BUILD_FOR_MAC |
43 #endif | 43 #endif |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #endif | 106 #endif |
107 #else | 107 #else |
108 #define SK_API __attribute__((visibility("default"))) | 108 #define SK_API __attribute__((visibility("default"))) |
109 #endif | 109 #endif |
110 #else | 110 #else |
111 #define SK_API | 111 #define SK_API |
112 #endif | 112 #endif |
113 | 113 |
114 #endif | 114 #endif |
115 | 115 |
OLD | NEW |