Protobuf: check version on startup

Properly check as per documentation.
This commit is contained in:
Kawe Mazidjatari 2024-03-16 01:27:57 +01:00
parent 6ac609f66e
commit 7c3d093c53

View File

@ -15,6 +15,7 @@
#include "windows/system.h"
#include "mathlib/mathlib.h"
#include "launcher/launcher.h"
#include "protobuf/stubs/common.h"
#ifndef DEDICATED
#define SDK_DEFAULT_CFG "cfg/system/startup_default.cfg"
@ -102,6 +103,7 @@ void SDK_Init()
Input_Init();
#endif // !DEDICATED
GOOGLE_PROTOBUF_VERIFY_VERSION;
curl_global_init(CURL_GLOBAL_ALL);
lzham_enable_fail_exceptions(true);