summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/include/ios
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/include/ios')
-rw-r--r--contrib/libc++/include/ios5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libc++/include/ios b/contrib/libc++/include/ios
index bb5ca72..61d00b9 100644
--- a/contrib/libc++/include/ios
+++ b/contrib/libc++/include/ios
@@ -592,6 +592,9 @@ public:
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
+ // __true_value will generate undefined references when linking unless
+ // we give it internal linkage.
+
#if defined(_LIBCPP_CXX03_LANG)
_LIBCPP_ALWAYS_INLINE
operator __cxx03_bool::__bool_type() const {
@@ -654,7 +657,7 @@ protected:
_LIBCPP_INLINE_VISIBILITY
void move(basic_ios& __rhs);
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#ifndef _LIBCPP_CXX03_LANG
_LIBCPP_ALWAYS_INLINE
void move(basic_ios&& __rhs) {move(__rhs);}
#endif
OpenPOWER on IntegriCloud