Skip to content

Commit 9de2b32

Browse files
committed
common: fix non win32 build with CTS
1 parent 7abb299 commit 9de2b32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/include/vulkan_interfaces.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ using namespace vk;
2929
// windows.h is included only by vulkan/vulkan.h.
3030
// In the case of CTS build using inl files, vkVulkan_c.inl does not include vulkan.h directly so
3131
// does not expose the windows includes necessary in VulkanDeviceContext.h for ie HMODULE.
32+
#if defined(_WIN32)
3233
#include <windows.h>
34+
#endif
3335
#else
3436
#include "vulkan/vulkan.h"
3537
#endif

0 commit comments

Comments
 (0)