Lots of windows fixes and some more improvements.
This commit is contained in:
@@ -145,7 +145,7 @@ std::string getExecutablePath() MIJIN_NOEXCEPT
|
||||
void* alignedAlloc(std::size_t alignment, std::size_t size) MIJIN_NOEXCEPT
|
||||
{
|
||||
#if MIJIN_TARGET_OS == MIJIN_OS_WINDOWS
|
||||
return _aligned_alloc(size, alignment);
|
||||
return _aligned_malloc(size, alignment);
|
||||
#else
|
||||
return std::aligned_alloc(alignment, size);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user