h2-mod/src/client/std_include.cpp
Federico Cecchetto 87545c31d7 Client
2021-09-07 00:40:37 +02:00

33 lines
458 B
C++

#include <std_include.hpp>
#pragma comment(linker, "/base:0x7FFF00000000")
extern "C"
{
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
};
extern "C"
{
int s_read_arc4random(void*, size_t)
{
return -1;
}
int s_read_getrandom(void*, size_t)
{
return -1;
}
int s_read_urandom(void*, size_t)
{
return -1;
}
int s_read_ltm_rng(void*, size_t)
{
return -1;
}
}