Skip to content

Commit a2816cf

Browse files
committed
Include vulkan_win32.h only for Windows
1 parent c788c52 commit a2816cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/VmaUsage.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ include all public interface declarations. Example:
9797
#endif
9898

9999
#include <vulkan/vulkan.h>
100+
101+
#ifdef _WIN32
100102
#include <vulkan/vulkan_win32.h>
103+
#endif // #ifdef _WIN32
101104

102105
#include "vk_mem_alloc.h"
103106

0 commit comments

Comments
 (0)