summaryrefslogtreecommitdiffstats
path: root/platform/web/api/web_tools_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/web/api/web_tools_editor_plugin.h')
-rw-r--r--platform/web/api/web_tools_editor_plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/web/api/web_tools_editor_plugin.h b/platform/web/api/web_tools_editor_plugin.h
index fc74899a58..ac0d5e20ec 100644
--- a/platform/web/api/web_tools_editor_plugin.h
+++ b/platform/web/api/web_tools_editor_plugin.h
@@ -32,6 +32,7 @@
#define WEB_TOOLS_EDITOR_PLUGIN_H
#if defined(TOOLS_ENABLED) && defined(WEB_ENABLED)
+
#include "core/io/zip_io.h"
#include "editor/editor_plugin.h"
@@ -48,11 +49,14 @@ public:
WebToolsEditorPlugin();
};
+
#else
+
class WebToolsEditorPlugin {
public:
static void initialize() {}
};
-#endif
+
+#endif // TOOLS_ENABLED && WEB_ENABLED
#endif // WEB_TOOLS_EDITOR_PLUGIN_H