projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cecd1
)
Fix C++17 dylib build
author
Eric Fiselier
<eric@efcs.ca>
Mon, 3 Apr 2017 23:23:44 +0000
(23:23 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Mon, 3 Apr 2017 23:23:44 +0000
(23:23 +0000)
llvm-svn: 299401
libcxx/include/algorithm
patch
|
blob
|
history
diff --git
a/libcxx/include/algorithm
b/libcxx/include/algorithm
index
bba6d8d
..
571edd2
100644
(file)
--- a/
libcxx/include/algorithm
+++ b/
libcxx/include/algorithm
@@
-3026,7
+3026,8
@@
uniform_int_distribution<_IntType>::operator()(_URNG& __g, const param_type& __p
return static_cast<result_type>(__u + __p.a());
}
-#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE)
+#if _LIBCPP_STD_VER <= 14 || defined(_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE) \
+ || defined(_LIBCPP_BUILDING_LIBRARY)
class _LIBCPP_TYPE_VIS __rs_default;
_LIBCPP_FUNC_VIS __rs_default __rs_get();