kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23976
[PATCH 1/2] Fix condition for Windows-style DLL export
---
include/plugins/3dapi/ifsg_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/plugins/3dapi/ifsg_defs.h b/include/plugins/3dapi/ifsg_defs.h
index 0523bf1..d0fd56d 100644
--- a/include/plugins/3dapi/ifsg_defs.h
+++ b/include/plugins/3dapi/ifsg_defs.h
@@ -31,7 +31,7 @@
#ifndef IFSG_DEFS_H
#define IFSG_DEFS_H
-#if defined(__MINGW32__) || defined( MSVC )
+#if defined(_WIN32)
#define APIEXPORT __declspec(dllexport)
#define APIIMPORT __declspec(dllimport)
#define APILOCAL
Follow ups
References