From a8fd512dad76bd7b6fccb58f9979453f01313793 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Fri, 16 Aug 2024 10:05:39 +0700 Subject: [PATCH] Fix linux build --- regamedll/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/regamedll/CMakeLists.txt b/regamedll/CMakeLists.txt index ffae23827..bc0a990e9 100644 --- a/regamedll/CMakeLists.txt +++ b/regamedll/CMakeLists.txt @@ -348,6 +348,7 @@ target_compile_definitions(regamedll PRIVATE _strnicmp=strncasecmp _strdup=strdup _unlink=unlink + _snprintf=snprintf _vsnprintf=vsnprintf _write=write _close=close