From d57b97351838f4808a205b8db161f040374778a9 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 16 May 2015 12:05:42 -0300 Subject: [PATCH] Mac: Use CoreFoundation headers instead of Carbon headers, in GetPowerInfo code. --- src/power/macosx/SDL_syspower.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/power/macosx/SDL_syspower.c b/src/power/macosx/SDL_syspower.c index 9bcacafde881c..dd74e0a1938cc 100644 --- a/src/power/macosx/SDL_syspower.c +++ b/src/power/macosx/SDL_syspower.c @@ -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)