Skip to content

Commit 07db9fd

Browse files
committed
Fix alloca support on Clang on Windows
Revert "Fix alloca support on Clang on Windows" This reverts commit d09fd9e. Update MemoryHelper.hpp
1 parent 5880c8e commit 07db9fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/NazaraUtils/MemoryHelper.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
#ifndef NAZARAUTILS_MEMORYHELPER_HPP
88
#define NAZARAUTILS_MEMORYHELPER_HPP
99

10-
#if defined(NAZARA_COMPILER_MSVC) || defined(NAZARA_COMPILER_MINGW)
10+
#include <NazaraUtils/Prerequisites.hpp>
11+
12+
#if defined(NAZARA_PLATFORM_WINDOWS) // MSVC / MinGW / Clang on Windows
1113

1214
#include <malloc.h>
1315

0 commit comments

Comments
 (0)