aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/shibokenmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/shibokenmacros.h')
-rw-r--r--libshiboken/shibokenmacros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/shibokenmacros.h b/libshiboken/shibokenmacros.h
index 7da6c0a2f..f66083bef 100644
--- a/libshiboken/shibokenmacros.h
+++ b/libshiboken/shibokenmacros.h
@@ -40,9 +40,9 @@
// Generic helper definitions for shared library support
#if defined _WIN32 || defined __CYGWIN__
#if LIBSHIBOKEN_BUILD
- #define LIBSHIBOKEN_API __declspec(dllimport)
- #else
#define LIBSHIBOKEN_API __declspec(dllexport)
+ #else
+ #define LIBSHIBOKEN_API __declspec(dllimport)
#endif
#else
#if __GNUC__ >= 4