From 1820ed8671cec0fd0287a36a877b14e380d00716 Mon Sep 17 00:00:00 2001 From: Anonymous275 <36374260+Anonymous-275@users.noreply.github.com> Date: Wed, 22 Sep 2021 17:29:04 +0300 Subject: [PATCH] linux build fix --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index fec5911..de97bd8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,9 @@ TSentry Sentry {}; int main(int argc, char** argv) { - watchdog_init("watchdog_crash.log", "C:\\Users\\Anonymous\\Documents\\GitHub\\BeamMP-Server\\RelWithDebInfo"); +#ifdef WIN32 + watchdog_init("watchdog_crash.log", R"(C:\Users\Anonymous\Documents\GitHub\BeamMP-Server\RelWithDebInfo)"); +#endif try { setlocale(LC_ALL, "C");