diff --git a/intern/ghost/intern/GHOST_ContextVK.cc b/intern/ghost/intern/GHOST_ContextVK.cc index 556a31ece6b..14a1059b1a8 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cc +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -21,6 +21,10 @@ #include "vulkan/vk_ghost_api.hh" +#if !defined(_WIN32) or defined(_M_ARM64) +/* Silence compilation warning on non-windows x64 systems. */ +# define VMA_EXTERNAL_MEMORY_WIN32 0 +#endif #include "vk_mem_alloc.h" #include "CLG_log.h"