shithub: openh264

Download patch

ref: 73ed237d732916bfe78b7c8cce62ff4c4e1f62c2
parent: 197423f271794ddc8a0d0a9070ab5a4834186ef9
author: Martin Storsjö <[email protected]>
date: Fri Feb 28 20:48:44 EST 2014

Use __APPLE__ instead of APPLE_IOS for using the apple cpu feature detection

--- a/codec/common/cpu.cpp
+++ b/codec/common/cpu.cpp
@@ -235,7 +235,7 @@
   return uiCPU;
 }
 
-#elif defined(APPLE_IOS)
+#elif defined(__APPLE__)
 uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors)
 {
     uint32_t       uiCPU = 0;