From 128ba7191da78d948b72b9c7adddc37002b391ef Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 24 May 2010 17:49:41 +0000 Subject: patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient. llvm-svn: 104516 --- libcxx/include/algorithm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libcxx/include/algorithm') diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index f3412f72600..c53bf3766e6 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -552,16 +552,12 @@ template #ifdef _LIBCPP_DEBUG #include #endif -//#include -#define RAND_MAX 0x7fffffff // #include -extern "C" int rand(void); // #include +#include #pragma GCC system_header _LIBCPP_BEGIN_NAMESPACE_STD -using ::rand; // #include - template struct __equal_to { -- cgit v1.2.3