We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057ef1d commit c40dc75Copy full SHA for c40dc75
MatrixStack/DirectXMatrixStack.h
@@ -16,7 +16,7 @@
16
#include <memory>
17
#include <new>
18
19
-#ifdef WIN32
+#ifdef _WIN32
20
#include <malloc.h>
21
#endif
22
@@ -204,7 +204,7 @@ namespace DirectX
204
{
205
void operator()(void* p) noexcept
206
207
208
_aligned_free(p);
209
#else
210
free(p);
@@ -214,7 +214,7 @@ namespace DirectX
214
215
void Allocate(size_t newSize)
216
217
218
void* ptr = _aligned_malloc(newSize * sizeof(XMMATRIX), 16);
219
220
// This C++17 Standard Library function is currently NOT
0 commit comments