diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-18 18:11:46 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-19 11:37:05 -0300 |
commit | b3d8877b8de94f6ddd166ab0c50acfc43a48574c (patch) | |
tree | 4a3be6e8d23c50e453141ae479401536d64dad82 /libshiboken/shibokenmacros.h | |
parent | 224be40cc9c31c381b62f7c1bfdde0f2c3b1fef7 (diff) |
Use CMake DEFINES to export symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken/shibokenmacros.h')
-rw-r--r-- | libshiboken/shibokenmacros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/shibokenmacros.h b/libshiboken/shibokenmacros.h index f66083bef..5ef1718c5 100644 --- a/libshiboken/shibokenmacros.h +++ b/libshiboken/shibokenmacros.h @@ -39,10 +39,10 @@ // LIBSHIBOKEN_LOCAL is used for non-api symbols, i.e. internal functions and classes. // Generic helper definitions for shared library support #if defined _WIN32 || defined __CYGWIN__ - #if LIBSHIBOKEN_BUILD + #if LIBSHIBOKEN_EXPORTS #define LIBSHIBOKEN_API __declspec(dllexport) #else - #define LIBSHIBOKEN_API __declspec(dllimport) + #define LIBSHIBOKEN_API #endif #else #if __GNUC__ >= 4 |