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