windows build fixes

This commit is contained in:
Jorijn van der Graaf 2026-03-01 18:03:07 +01:00
commit 732200a461
2 changed files with 6 additions and 9 deletions

View file

@ -40,7 +40,7 @@ module;
#include <wayland-client-protocol.h>
#endif
#ifdef CRAFTER_GRAPHICS_VULKAN
#ifndef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32
#ifndef CRAFTER_GRAPHICS_WINDOWS
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -282,7 +282,7 @@ export namespace Crafter {
// Command buffer submission and execution
VkSemaphore renderComplete;
};
#ifndef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_w64_mingw32
#ifndef CRAFTER_GRAPHICS_WINDOWS
class WindowVulkan final : public Window, public WindowKeyboard, public WindowMouse, public WindowTitle {
public:
WindowVulkan(std::uint32_t width, std::uint32_t height);