diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2015-03-17 15:30:22 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2015-03-17 15:30:22 +0000 |
| commit | 2d832d24292aea3925b4c2ae105988f5cbe3e88f (patch) | |
| tree | 737914600e51445d3d83d5081eb92bbf07466812 /libcxx/include/experimental/system_error | |
| parent | 57f00f2f9ce96f474beba7394be05be56fce720d (diff) | |
| download | bcm5719-llvm-2d832d24292aea3925b4c2ae105988f5cbe3e88f.tar.gz bcm5719-llvm-2d832d24292aea3925b4c2ae105988f5cbe3e88f.zip | |
Define a new macro: _LIBCPP_HAS_NO_VARIABLE_TEMPLATES and use it. No functionality change.
llvm-svn: 232493
Diffstat (limited to 'libcxx/include/experimental/system_error')
| -rw-r--r-- | libcxx/include/experimental/system_error | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/experimental/system_error b/libcxx/include/experimental/system_error index 9b9ab333b5a..2ec23854461 100644 --- a/libcxx/include/experimental/system_error +++ b/libcxx/include/experimental/system_error @@ -46,7 +46,7 @@ inline namespace fundamentals_v1 { _LIBCPP_BEGIN_NAMESPACE_LFTS -#if __has_feature(cxx_variable_templates) +#ifndef _LIBCPP_HAS_NO_VARIABLE_TEMPLATES template <class _Tp> _LIBCPP_CONSTEXPR bool is_error_code_enum_v = is_error_code_enum<_Tp>::value; @@ -54,7 +54,7 @@ template <class _Tp> _LIBCPP_CONSTEXPR bool is_error_code_enum_v template <class _Tp> _LIBCPP_CONSTEXPR bool is_error_condition_enum_v = is_error_condition_enum<_Tp>::value; -#endif /* __has_feature(cxx_variable_templates) */ +#endif /* _LIBCPP_HAS_NO_VARIABLE_TEMPLATES */ _LIBCPP_END_NAMESPACE_LFTS |

