lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz



2008/10/3 Gregor Riepl <onitake@xxxxxxxxx>:
>> 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
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng