summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-23 19:19:50 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-23 19:19:50 -0200
commit7289fd3ff34ee42bb6b43203cb0f813f38ee927d (patch)
treef54dbd64c1122ccb1a25740bdaa52c7f457d7c55
parent94c954319c72fb70ad82255aba0b7314666585d9 (diff)
downloadshiboken-7289fd3ff34ee42bb6b43203cb0f813f38ee927d.tar.gz
shiboken-7289fd3ff34ee42bb6b43203cb0f813f38ee927d.tar.xz
shiboken-7289fd3ff34ee42bb6b43203cb0f813f38ee927d.zip
Fix dllimport/dllexport macros.
-rw-r--r--libshiboken/shibokenmacros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/shibokenmacros.h b/libshiboken/shibokenmacros.h
index 7da6c0a2..f66083be 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