[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz
Ulion
ulion2002 at gmail.com
Thu Oct 9 13:49:49 CEST 2008
2008/10/3 Gregor Riepl <onitake at gmail.com>:
>> Sorry for the confusion.
>
> your first statement was perfectly intelligible. :)
>
> anyway, i dug up a two things.
> first, UpdateSystemActivity is nowhere mentioned as being deprecated or not
> available. it's even in the CoreServices/OSServices framework for all 4
> supported architectures. the only problem is that apple inserted a
> #if !__LP64__
> #ifndef __POWER__
> #include <OSServices/Power.h>
> #endif
> into
> /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h,
> which makes the compiler fail. the linker would in fact succeed.
> i filed a bug (radar #6267445) against this.
how about manually add it into head of our source file?
#ifndef __POWER__
#include <OSServices/Power.h>
#endif
--
Ulion
More information about the MPlayer-dev-eng
mailing list