Fixed preprocessor macros to fix compilation in C projects. Issue #26. Thanks @jesta88 !
This commit is contained in:
parent
bafb06e50d
commit
7b08b8f375
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue