From 7289fd3ff34ee42bb6b43203cb0f813f38ee927d Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 23 Nov 2009 19:19:50 -0200 Subject: Fix dllimport/dllexport macros. --- libshiboken/shibokenmacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libshiboken/shibokenmacros.h') 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 -- cgit v1.2.3