mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
fix msvc compilation
This commit is contained in:
@@ -123,7 +123,11 @@
|
||||
//
|
||||
//
|
||||
|
||||
#define META_HPP_ALLOCA(size) __builtin_alloca(size)
|
||||
#if META_HPP_DETAIL_COMPILER_ID == META_HPP_DETAIL_MSVC_COMPILER_ID
|
||||
# define META_HPP_ALLOCA(size) _alloca(size)
|
||||
#else
|
||||
# define META_HPP_ALLOCA(size) __builtin_alloca(size)
|
||||
#endif
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user