mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 22:17:02 +07:00
fix msvc compilation
This commit is contained in:
@@ -122,7 +122,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
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
@@ -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