Skip to content
Snippets Groups Projects
Commit 91949cf6 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#79] Probably mutex still broken on MinGW... but maybe the alloc() works now

parent 21a93d20
No related branches found
No related tags found
1 merge request!80Resolve "MinGW corrections for the hacks"
......@@ -3,8 +3,8 @@
#define _DEBUG
#endif
#ifdef __MINGW32__
#ifndef _MSVC_LANG
#include <stdlib.h>
#include <mutex>
class VmaMutex {
......@@ -16,7 +16,6 @@ private:
};
#define VMA_MUTEX VmaMutex
#define VMA_SYSTEM_ALIGNED_MALLOC(size, alignment) (aligned_alloc((alignment), (size) ))
#define VMA_SYSTEM_FREE(ptr) free(ptr)
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment