mirror of
https://github.com/alterware/master-server.git
synced 2026-01-08 00:01:50 +00:00
init
This commit is contained in:
33
src/std_include.cpp
Normal file
33
src/std_include.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
#include <std_include.hpp>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
int s_read_arc4random(void*, size_t)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if !defined(__linux__)
|
||||
int s_read_getrandom(void*, size_t)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
int s_read_urandom(void*, size_t)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int s_read_ltm_rng(void*, size_t)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
#else
|
||||
int s_read_wincsp(void*, size_t)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user