diff options
Diffstat (limited to 'system/lib/libcxx/random.cpp')
-rw-r--r-- | system/lib/libcxx/random.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/lib/libcxx/random.cpp b/system/lib/libcxx/random.cpp index eca97bc8..97a40c50 100644 --- a/system/lib/libcxx/random.cpp +++ b/system/lib/libcxx/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> @@ -37,7 +40,7 @@ random_device::operator()() } double -random_device::entropy() const +random_device::entropy() const _NOEXCEPT { return 0; } |