From 30dbdc93c586165f2e32183d0a2c49a4c707ad1e Mon Sep 17 00:00:00 2001 From: Faumaray Date: Mon, 20 Oct 2025 23:44:42 +0300 Subject: [PATCH] docker Signed-off-by: Faumaray --- Jenkinsfile | 4 +++- include/Mods/LoadLibraryUnix.hpp | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 23dd1df..03675ec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + docker { image 'faumaray/jdk-mingw-cpp:latest' } + } parameters { string(name: 'TAG_NAME', defaultValue: 'latest', description: 'Tag name for Gitea release') diff --git a/include/Mods/LoadLibraryUnix.hpp b/include/Mods/LoadLibraryUnix.hpp index 8fc98fd..5d762b2 100644 --- a/include/Mods/LoadLibraryUnix.hpp +++ b/include/Mods/LoadLibraryUnix.hpp @@ -1,8 +1,9 @@ #pragma once - +#if defined(unix) #include void* LoadLibrary(const std::string& path, bool isGlobal); bool CloseLibrary(void* handle); -void* LoadSymbol(void* handle, const std::string& name); \ No newline at end of file +void* LoadSymbol(void* handle, const std::string& name); +#endif \ No newline at end of file