mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
workaround for libc++1101: no constexpr char_trais
This commit is contained in:
parent
bbbf484a24
commit
ce16e24637
16 changed files with 376 additions and 3 deletions
18
sprout/config/stdlib/libcpp.hpp
Normal file
18
sprout/config/stdlib/libcpp.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef SPROUT_CONFIG_STDLIB_LIBCPP_HPP
|
||||
#define SPROUT_CONFIG_STDLIB_LIBCPP_HPP
|
||||
|
||||
#ifdef _LIBCPP_HAS_NO_VARIADICS
|
||||
# define SPROUT_NO_CXX11_HDR_TUPLE
|
||||
#endif
|
||||
|
||||
#define SPROUT_NO_CXX11_HDR_CHRONO
|
||||
#define SPROUT_NO_CXX11_HDR_FUTURE
|
||||
#define SPROUT_NO_CXX11_HDR_TYPE_TRAITS
|
||||
#define SPROUT_NO_CXX11_ATOMIC_SMART_PTR
|
||||
|
||||
#include <utility>
|
||||
#if defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION < 1101)
|
||||
# define SPROUT_NO_CXX11_CHAR_TRAITS
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_STDLIB_LIBCPP_HPP
|
Loading…
Add table
Add a link
Reference in a new issue