mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 14:52:28 +00:00
Support thread local storage
This commit is contained in:
parent
91ee2b19d4
commit
55de4ca6b5
197 changed files with 1483 additions and 874 deletions
10
third_party/libcxx/random.cc
vendored
10
third_party/libcxx/random.cc
vendored
|
@ -6,6 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "libc/rand/rand.h"
|
||||
#include "third_party/libcxx/__config"
|
||||
|
||||
#if defined(_LIBCPP_USING_WIN32_RANDOM)
|
||||
|
@ -24,15 +25,6 @@
|
|||
#include "third_party/libcxx/stdio.h"
|
||||
#include "third_party/libcxx/stdlib.h"
|
||||
|
||||
#if defined(_LIBCPP_USING_GETENTROPY)
|
||||
#include "libc/isystem/sys/random.h"
|
||||
#elif defined(_LIBCPP_USING_DEV_RANDOM)
|
||||
#include "third_party/libcxx/fcntl.h"
|
||||
#include "third_party/libcxx/unistd.h"
|
||||
#elif defined(_LIBCPP_USING_NACL_RANDOM)
|
||||
#include "third_party/libcxx/nacl/nacl_random.h"
|
||||
#endif
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
#if defined(_LIBCPP_USING_GETENTROPY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue