Fix release build crash

This commit is contained in:
Federico Cecchetto 2022-03-19 23:38:50 +01:00
parent 964ceb5be9
commit ad042ec91d

View File

@ -17,6 +17,12 @@ extern "C"
extern "C" extern "C"
{ {
// workaround for release build removing 'payload_data'
char* dont_remove_this()
{
return payload_data;
}
int s_read_arc4random(void*, size_t) int s_read_arc4random(void*, size_t)
{ {
return -1; return -1;