summaryrefslogtreecommitdiff
path: root/src/power/macosx/SDL_syspower.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/power/macosx/SDL_syspower.c')
-rw-r--r--src/power/macosx/SDL_syspower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/power/macosx/SDL_syspower.c b/src/power/macosx/SDL_syspower.c
index 0434a16e..b76b5c65 100644
--- a/src/power/macosx/SDL_syspower.c
+++ b/src/power/macosx/SDL_syspower.c
@@ -21,7 +21,7 @@
#include "SDL_config.h"
#ifndef SDL_POWER_DISABLED
-#ifdef SDL_POWER_MACOSX
+#if SDL_POWER_MACOSX
#include <Carbon/Carbon.h>
#include <IOKit/ps/IOPowerSources.h>