From 7b4194d9a75a78840c6fff612c5e0cf25a30ad80 Mon Sep 17 00:00:00 2001 From: Sergey Khalyutn Date: Sun, 3 May 2026 12:35:01 +0300 Subject: [PATCH] Fix: Add support build lib CDS with MSYS2 on win (not only MINGW). Without it cause a non-obvious error : "-Standard plugin entrypoint does not exist in module \src\plugins\Engine14 -The specified procedure could not be found." ``` [build] can't format message 17:0 -- message file /build/code/src\firebird.msg not found [build] Error loading plugin Engine14 [build] -Standard plugin entrypoint does not exist in module \src\plugins\Engine14 [build] -The specified procedure could not be found. [build] can't format message 17:120 -- message file /build/code/src\firebird.msg not found [build] make[2]: *** [code/src/CMakeFiles/msg_fdb.dir/build.make:79: code/src/msg.fdb] Error 1 [build] make[1]: *** [CMakeFiles/Makefile2:888: code/src/CMakeFiles/msg_fdb.dir/all] Error 2 [build] make: *** [Makefile:136: all] Error 2 ``` --- extern/libcds/cds/compiler/gcc/compiler_macro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/libcds/cds/compiler/gcc/compiler_macro.h b/extern/libcds/cds/compiler/gcc/compiler_macro.h index a1a42e66a7a..db7d95a280c 100644 --- a/extern/libcds/cds/compiler/gcc/compiler_macro.h +++ b/extern/libcds/cds/compiler/gcc/compiler_macro.h @@ -148,7 +148,7 @@ # endif #endif -#if CDS_OS_TYPE == CDS_OS_MINGW +#if CDS_OS_TYPE == CDS_OS_MINGW || CDS_OS_TYPE == CDS_OS_WIN64 || CDS_OS_TYPE == CDS_OS_WIN32 # ifdef CDS_BUILD_LIB # define CDS_EXPORT_API __declspec(dllexport) # elif !defined(CDS_BUILD_STATIC_LIB)