diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-02-29 13:05:08 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-02-29 13:05:08 +0000 |
commit | 14c25b80e9be5aab9b503a53f810c5bbffe4d632 (patch) | |
tree | 199ca992efe98f7ab5e558763404fe70f488dd1c /libcxx/src/random.cpp | |
parent | 66d45737860948d34b3f7e46d6d571a9de6cb22c (diff) | |
download | bcm5719-llvm-14c25b80e9be5aab9b503a53f810c5bbffe4d632.tar.gz bcm5719-llvm-14c25b80e9be5aab9b503a53f810c5bbffe4d632.zip |
Solaris port. Currently sees around 200 test failures, mostly related to
Solaris not providing some of the locales that the test suite uses.
Note: This depends on an xlocale (partial) implementation for Solaris and a
couple of fixed standard headers. These will be committed to a branch later
today.
llvm-svn: 151720
Diffstat (limited to 'libcxx/src/random.cpp')
-rw-r--r-- | libcxx/src/random.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/src/random.cpp b/libcxx/src/random.cpp index eca97bc8194..6140b74ecb5 100644 --- a/libcxx/src/random.cpp +++ b/libcxx/src/random.cpp @@ -10,6 +10,9 @@ #include "random" #include "system_error" +#ifdef __sun__ +#define rename solaris_headers_are_broken +#endif #include <fcntl.h> #include <unistd.h> #include <errno.h> |