[vlc-devel] commit: gui/*macosx: Don' t rely on carbon or on old non 64 bits API when possible. (Pierre d' Herbemont )

Felix Paul Kühne fkuehne.videolan at googlemail.com
Sun Apr 12 23:45:10 CEST 2009


> * prevent system sleep */
> #import <CoreServices/CoreServices.h>
> -#import <CoreServices/../Frameworks/OSServices.framework/Headers/ 
> Power.h>
> -

I had to add that, because otherwise GCC gives a warning on Darwin 10  
about UpdateSystemActivity() being not defined. Regrettably, there is  
no direkt Cocoa replacement for this function...


Best regards,

Felix



More information about the vlc-devel mailing list