From ad042ec91d1f8bb819e2bfb491b1a30b411b649b Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sat, 19 Mar 2022 23:38:50 +0100 Subject: [PATCH] Fix release build crash --- src/client/std_include.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/std_include.cpp b/src/client/std_include.cpp index e0a46eed..773e1c19 100644 --- a/src/client/std_include.cpp +++ b/src/client/std_include.cpp @@ -17,6 +17,12 @@ 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) { return -1;