update to newly-refactored arc4random compatibility shims

the thread-private bits can move next

ok beck@
This commit is contained in:
Brent Cook
2014-07-17 23:58:46 -05:00
parent d697fdb4af
commit 1b1bce16b1
4 changed files with 23 additions and 0 deletions

View File

@@ -69,6 +69,11 @@ endif
noinst_HEADERS = des/ncbc_enc.c
noinst_HEADERS += compat/thread_private.h
noinst_HEADERS += compat/arc4random.h
noinst_HEADERS += compat/arc4random_linux.h
noinst_HEADERS += compat/arc4random_osx.h
noinst_HEADERS += compat/arc4random_solaris.h
noinst_HEADERS += compat/arc4random_win.h
noinst_HEADERS += compat/chacha_private.h
libcrypto_la_SOURCES =
EXTRA_libcrypto_la_SOURCES =

View File

@@ -0,0 +1,16 @@
#ifdef __linux__
#include "arc4random_linux.h"
#endif
#ifdef __APPLE__
#include "arc4random_osx.h"
#endif
#ifdef __sun
#include "arc4random_solaris.h"
#endif
#ifdef __WIN32
#include "arc4random_win.h"
#endif