[MPlayer-cvslog] r38342 - trunk/libvo/osx_objc_common.m

reimar subversion at mplayerhq.hu
Sat Feb 26 12:08:30 EET 2022


Author: reimar
Date: Sat Feb 26 12:08:30 2022
New Revision: 38342

Log:
osx_objc_common: Fix retina support.

For some reason __POWER__ ends up defined on both Intel
and M1 macs.
Add a hackish workaround for now.

Modified:
   trunk/libvo/osx_objc_common.m

Modified: trunk/libvo/osx_objc_common.m
==============================================================================
--- trunk/libvo/osx_objc_common.m	Thu Feb 24 18:46:29 2022	(r38341)
+++ trunk/libvo/osx_objc_common.m	Sat Feb 26 12:08:30 2022	(r38342)
@@ -44,6 +44,11 @@
 #include "osdep/keycodes.h"
 #include "osx_common.h"
 
+#if defined(__aarch64__) || defined(x86_64)
+// TODO figure out where this comes from!!
+#undef __POWER__
+#endif
+
 static float winAlpha = 1;
 
 static BOOL isLeopardOrLater;


More information about the MPlayer-cvslog mailing list