This is an automated email from the ASF dual-hosted git repository.

martinzink pushed a commit to branch controller_c_api_requirements
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit a4b70ecedff15119fa25b8b0aa59f517c46c4461
Author: Adam Debreceni <[email protected]>
AuthorDate: Thu Mar 12 16:40:49 2026 +0100

    MINIFICPP-2715 - Windows fix
---
 .../cpp-extension-lib/include/api/utils/minifi-c-utils.h                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extension-framework/cpp-extension-lib/include/api/utils/minifi-c-utils.h 
b/extension-framework/cpp-extension-lib/include/api/utils/minifi-c-utils.h
index 76a5a43ae..43fb28306 100644
--- a/extension-framework/cpp-extension-lib/include/api/utils/minifi-c-utils.h
+++ b/extension-framework/cpp-extension-lib/include/api/utils/minifi-c-utils.h
@@ -25,7 +25,7 @@
 #include "minifi-cpp/core/PropertyDefinition.h"
 
 #ifdef WIN32
-  #define CEXTENSIONAPI __declspec(dllexport) extern "C"
+  #define CEXTENSIONAPI extern "C" __declspec(dllexport)
 #else
   #define CEXTENSIONAPI extern "C"
 #endif

Reply via email to