From 3ad42d859e03162baf417560e7facb5149b3e791 Mon Sep 17 00:00:00 2001 From: LanzaSchneider Date: Wed, 14 Jan 2026 23:27:48 +0800 Subject: [PATCH] Fix: GDScript LSP test compilation condition --- modules/gdscript/tests/test_lsp.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/gdscript/tests/test_lsp.h b/modules/gdscript/tests/test_lsp.h index 0c727afeb0..cc60076a75 100644 --- a/modules/gdscript/tests/test_lsp.h +++ b/modules/gdscript/tests/test_lsp.h @@ -32,9 +32,7 @@ #ifdef TOOLS_ENABLED -#include "modules/modules_enabled.gen.h" // For jsonrpc. - -#ifdef MODULE_JSONRPC_ENABLED +#ifndef GDSCRIPT_NO_LSP #include "tests/test_macros.h" @@ -607,6 +605,6 @@ func f(): } // namespace GDScriptTests -#endif // MODULE_JSONRPC_ENABLED +#endif // GDSCRIPT_NO_LSP #endif // TOOLS_ENABLED