diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 3a6a6a5..40e0d04 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -2181,7 +2181,7 @@ void vmaDestroyImage( #endif // AMD_VULKAN_MEMORY_ALLOCATOR_H // For Visual Studio IntelliSense. -#ifdef __INTELLISENSE__ +#if defined(__cplusplus) && defined(__INTELLISENSE__) #define VMA_IMPLEMENTATION #endif