File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ class DisplayServerMacOS : public DisplayServer {
460460 virtual bool get_swap_cancel_ok () override;
461461
462462 virtual void enable_for_stealing_focus (OS::ProcessID pid) override;
463- #ifdef DEBUG_ENABLED
463+ #ifdef TOOLS_ENABLED
464464 Error embed_process_update (WindowID p_window, const EmbeddedProcessMacOS *p_process);
465465#endif
466466 virtual Error request_close_embedded_process (OS::ProcessID p_pid) override;
Original file line number Diff line number Diff line change 3030
3131#import " display_server_macos.h"
3232
33- #ifdef DEBUG_ENABLED
34- #import " editor/embedded_process_macos.h"
35- #endif
3633#import " godot_application.h"
3734#import " godot_application_delegate.h"
3835#import " godot_button_view.h"
5653#include " main/main.h"
5754#include " scene/resources/image_texture.h"
5855
56+ #ifdef TOOLS_ENABLED
57+ #import " editor/embedded_process_macos.h"
58+ #endif
59+
5960#include < AppKit/AppKit.h>
6061
6162#include " servers/rendering/dummy/rasterizer_dummy.h"
32833284 ERR_FAIL_V (m_retval); \
32843285 }
32853286
3286- #ifdef DEBUG_ENABLED
3287+ #ifdef TOOLS_ENABLED
32873288
32883289Error DisplayServerMacOS::embed_process_update (WindowID p_window, const EmbeddedProcessMacOS *p_process) {
32893290 _THREAD_SAFE_METHOD_
You can’t perform that action at this time.
0 commit comments