# HG changeset patch # User Alex Szpakowski # Date 1431788742 10800 # Node ID d52c2129c9ac5aeffc48c3e0ac2cca45f9d449a1 # Parent 223fbcc6a3274ebc99e043beec9426ee8436025a Mac: Use CoreFoundation headers instead of Carbon headers, in GetPowerInfo code. diff -r 223fbcc6a327 -r d52c2129c9ac src/power/macosx/SDL_syspower.c --- a/src/power/macosx/SDL_syspower.c Wed May 13 22:39:32 2015 -0700 +++ b/src/power/macosx/SDL_syspower.c Sat May 16 12:05:42 2015 -0300 @@ -23,13 +23,13 @@ #ifndef SDL_POWER_DISABLED #if SDL_POWER_MACOSX -#include +#include #include #include #include "SDL_power.h" -/* Carbon is so verbose... */ +/* CoreFoundation is so verbose... */ #define STRMATCH(a,b) (CFStringCompare(a, b, 0) == kCFCompareEqualTo) #define GETVAL(k,v) \ CFDictionaryGetValueIfPresent(dict, CFSTR(k), (const void **) v)