From b19e67da153fc9295846a99ee24d492464945d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Rom=C3=A1n=20N=C3=BA=C3=B1ez?= Date: Fri, 13 Feb 2026 19:22:33 +0100 Subject: [PATCH] Fix building on windows --- .github/workflows/windows_builds.yml | 6 ++++++ .../hbnative/thirdparty/tiny_process_lib/process_win.cpp | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index 6b41e1477..61bc245e0 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -62,6 +62,12 @@ jobs: run: | ./get_deps.ps1 + - name: Download DX12 deps + run: | + cd engine + python misc\scripts\install_d3d12_sdk_windows.py + cd .. + - name: Compilation uses: ./.github/actions/godot-build with: diff --git a/modules/hbnative/thirdparty/tiny_process_lib/process_win.cpp b/modules/hbnative/thirdparty/tiny_process_lib/process_win.cpp index d6062b80e..2d9e9ece2 100644 --- a/modules/hbnative/thirdparty/tiny_process_lib/process_win.cpp +++ b/modules/hbnative/thirdparty/tiny_process_lib/process_win.cpp @@ -1,4 +1,3 @@ -#include "core/string/print_string.h" #include "process.hpp" // clang-format off #include @@ -342,9 +341,6 @@ void Process::close_fds() noexcept { } bool Process::write(const char *bytes, size_t n) { - if(!open_stdin) - print_line("COCK"); - std::lock_guard lock(stdin_mutex); if(stdin_fd) { DWORD written;