Fixed preprocessor macros to fix compilation in C projects. Issue #26. Thanks @jesta88 !

This commit is contained in:
Adam Sawicki 2018-05-04 11:03:27 +02:00
parent bafb06e50d
commit 7b08b8f375

View File

@ -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