mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Merge pull request #29 from GPUOpen-LibrariesAndSDKs/revert-28-bsd
Revert "Unbreak on BSDs"
This commit is contained in:
commit
8a5ba73939
@ -2229,6 +2229,10 @@ remove them if not needed.
|
||||
#include <mutex> // for std::mutex
|
||||
#include <atomic> // for std::atomic
|
||||
|
||||
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
#include <malloc.h> // for aligned_alloc()
|
||||
#endif
|
||||
|
||||
#ifndef VMA_NULL
|
||||
// Value used as null pointer. Define it to e.g.: nullptr, NULL, 0, (void*)0.
|
||||
#define VMA_NULL nullptr
|
||||
|
Loading…
Reference in New Issue
Block a user