libreSSL/crypto/compat/arc4random.h

22 lines
367 B
C
Raw Normal View History

2014-10-30 16:52:29 +01:00
#ifndef LIBCRYPTOCOMPAT_ARC4RANDOM_H
#define LIBCRYPTOCOMPAT_ARC4RANDOM_H
#if defined(__linux__)
#include "arc4random_linux.h"
#elif defined(__APPLE__)
#include "arc4random_osx.h"
#elif defined(__sun)
#include "arc4random_solaris.h"
#elif defined(__WIN32)
#include "arc4random_win.h"
#else
#error "No arc4random hooks defined for this platform."
#endif
2014-10-30 16:52:29 +01:00
#endif