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 SkPostConfig_DEFINED | 10 #ifndef SkPostConfig_DEFINED |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 #else | 392 #else |
393 #define SK_SIZE_T_SPECIFIER "%zu" | 393 #define SK_SIZE_T_SPECIFIER "%zu" |
394 #endif | 394 #endif |
395 #endif | 395 #endif |
396 | 396 |
397 ////////////////////////////////////////////////////////////////////// | 397 ////////////////////////////////////////////////////////////////////// |
398 | 398 |
399 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS | 399 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
400 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 | 400 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 |
401 #endif | 401 #endif |
| 402 |
| 403 ////////////////////////////////////////////////////////////////////// |
| 404 |
| 405 #ifndef SK_ATOMICS_PLATFORM_H |
| 406 #if defined(SK_BUILD_FOR_WIN) |
| 407 #define SK_ATOMICS_PLATFORM_H "SkAtomics_win.h" |
| 408 #elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) |
| 409 #define SK_ATOMICS_PLATFORM_H "SkAtomics_android.h" |
| 410 #else |
| 411 #define SK_ATOMICS_PLATFORM_H "SkAtomics_sync.h" |
| 412 #endif |
| 413 #endif |
| 414 |
| 415 #ifndef SK_MUTEX_PLATFORM_H |
| 416 #if defined(SK_BUILD_FOR_WIN) |
| 417 #define SK_MUTEX_PLATFORM_H "SkMutex_win.h" |
| 418 #else |
| 419 #define SK_MUTEX_PLATFORM_H "SkMutex_pthread.h" |
| 420 #endif |
| 421 #endif |
OLD | NEW |