diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkCpu.cpp | 2 | ||||
-rw-r--r-- | src/core/SkExecutor.cpp | 2 | ||||
-rw-r--r-- | src/core/SkMathPriv.h | 2 | ||||
-rw-r--r-- | src/core/SkSemaphore.cpp | 2 | ||||
-rw-r--r-- | src/core/SkTime.cpp | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/core/SkCpu.cpp b/src/core/SkCpu.cpp index 0107789bfb..e9777c0b3b 100644 --- a/src/core/SkCpu.cpp +++ b/src/core/SkCpu.cpp @@ -13,7 +13,7 @@ #endif #if defined(SK_CPU_X86) - #if defined(SK_BUILD_FOR_WIN32) + #if defined(SK_BUILD_FOR_WIN) #include <intrin.h> static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } static void cpuid7(uint32_t abcd[4]) { __cpuidex((int*)abcd, 7, 0); } diff --git a/src/core/SkExecutor.cpp b/src/core/SkExecutor.cpp index eb0412a55e..5e3d38c0d4 100644 --- a/src/core/SkExecutor.cpp +++ b/src/core/SkExecutor.cpp @@ -14,7 +14,7 @@ #include <deque> #include <thread> -#if defined(SK_BUILD_FOR_WIN32) +#if defined(SK_BUILD_FOR_WIN) #include <windows.h> static int num_cores() { SYSTEM_INFO sysinfo; diff --git a/src/core/SkMathPriv.h b/src/core/SkMathPriv.h index dcdd81fd41..30c5912a96 100644 --- a/src/core/SkMathPriv.h +++ b/src/core/SkMathPriv.h @@ -111,7 +111,7 @@ static inline float SkPinToUnitFloat(float x) { int SkCLZ_portable(uint32_t); #ifndef SkCLZ - #if defined(SK_BUILD_FOR_WIN32) + #if defined(SK_BUILD_FOR_WIN) #include <intrin.h> static inline int SkCLZ(uint32_t mask) { diff --git a/src/core/SkSemaphore.cpp b/src/core/SkSemaphore.cpp index 6ad10c4317..6dcb4f9c22 100644 --- a/src/core/SkSemaphore.cpp +++ b/src/core/SkSemaphore.cpp @@ -40,7 +40,7 @@ AnnotateHappensAfter(__FILE__, __LINE__, &fSemaphore); } }; -#elif defined(SK_BUILD_FOR_WIN32) +#elif defined(SK_BUILD_FOR_WIN) struct SkBaseSemaphore::OSSemaphore { HANDLE fSemaphore; diff --git a/src/core/SkTime.cpp b/src/core/SkTime.cpp index ca67f4c8a7..7988925bb3 100644 --- a/src/core/SkTime.cpp +++ b/src/core/SkTime.cpp @@ -26,7 +26,7 @@ void SkTime::DateTime::toISO8601(SkString* dst) const { } } -#ifdef SK_BUILD_FOR_WIN32 +#ifdef SK_BUILD_FOR_WIN void SkTime::GetDateTime(DateTime* dt) { if (dt) { @@ -43,7 +43,7 @@ void SkTime::GetDateTime(DateTime* dt) { } } -#else // SK_BUILD_FOR_WIN32 +#else // SK_BUILD_FOR_WIN #include <time.h> void SkTime::GetDateTime(DateTime* dt) { @@ -62,7 +62,7 @@ void SkTime::GetDateTime(DateTime* dt) { dt->fSecond = SkToU8(tstruct.tm_sec); } } -#endif // SK_BUILD_FOR_WIN32 +#endif // SK_BUILD_FOR_WIN #if !defined(__has_feature) #define __has_feature(x) 0 |