diff --git a/include/mgba/internal/debugger/cli-debugger.h b/include/mgba/internal/debugger/cli-debugger.h index 12e987468..6175ce628 100644 --- a/include/mgba/internal/debugger/cli-debugger.h +++ b/include/mgba/internal/debugger/cli-debugger.h @@ -96,7 +96,7 @@ void CLIDebuggerAttachBackend(struct CLIDebugger*, struct CLIDebuggerBackend*); bool CLIDebuggerTabComplete(struct CLIDebugger*, const char* token, bool initial, size_t len); bool CLIDebuggerRunCommand(struct CLIDebugger* debugger, const char* line, size_t count); -#if ENABLE_SCRIPTING +#ifdef ENABLE_SCRIPTING void CLIDebuggerScriptEngineInstall(struct mScriptBridge* sb); #endif diff --git a/src/debugger/cli-debugger.c b/src/debugger/cli-debugger.c index dcdd33a65..691474f3a 100644 --- a/src/debugger/cli-debugger.c +++ b/src/debugger/cli-debugger.c @@ -13,7 +13,7 @@ #include #include -#if ENABLE_SCRIPTING +#ifdef ENABLE_SCRIPTING #include #endif diff --git a/src/debugger/debugger.c b/src/debugger/debugger.c index 675e04698..169123451 100644 --- a/src/debugger/debugger.c +++ b/src/debugger/debugger.c @@ -14,7 +14,7 @@ #include #endif -#if ENABLE_SCRIPTING +#ifdef ENABLE_SCRIPTING #include #endif