Index: include/core/SkPostConfig.h |
=================================================================== |
--- include/core/SkPostConfig.h (revision 11669) |
+++ include/core/SkPostConfig.h (working copy) |
@@ -399,3 +399,23 @@ |
#ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
#define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 |
#endif |
+ |
+////////////////////////////////////////////////////////////////////// |
+ |
+#ifndef SK_ATOMICS_PLATFORM_H |
+ #if defined(SK_BUILD_FOR_WIN) |
+ #define SK_ATOMICS_PLATFORM_H "SkAtomics_win.h" |
+ #elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) |
+ #define SK_ATOMICS_PLATFORM_H "SkAtomics_android.h" |
+ #else |
+ #define SK_ATOMICS_PLATFORM_H "SkAtomics_sync.h" |
+ #endif |
+#endif |
+ |
+#ifndef SK_MUTEX_PLATFORM_H |
+ #if defined(SK_BUILD_FOR_WIN) |
+ #define SK_MUTEX_PLATFORM_H "SkMutex_win.h" |
+ #else |
+ #define SK_MUTEX_PLATFORM_H "SkMutex_pthread.h" |
+ #endif |
+#endif |