Skip to content

Commit c77a123

Browse files
Fixed #include <windows.h> for compilation under Windows mingw64. Issue #41 thanks @turol !
1 parent df1b88d commit c77a123

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vk_mem_alloc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,12 +1369,12 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
13691369
#endif
13701370
#endif
13711371

1372-
#define NOMINMAX // For Windows.h
1372+
#define NOMINMAX // For windows.h
13731373

13741374
#include <vulkan/vulkan.h>
13751375

13761376
#if VMA_RECORDING_ENABLED
1377-
#include <Windows.h>
1377+
#include <windows.h>
13781378
#endif
13791379

13801380
#if !defined(VMA_DEDICATED_ALLOCATION)

0 commit comments

Comments
 (0)