aboutsummaryrefslogtreecommitdiffstats
path: root/apiextractormacros.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-18 09:39:20 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-18 09:41:14 -0200
commiteb99fbe68dcd618818858a409238b36404af94f2 (patch)
treeb399644f7e2a7fdc0db44e8fc9bd9a5764d776da /apiextractormacros.h
parent0132c7fba7d6774f0fa02a728ad869674f59b297 (diff)
Fix windows macros for dll export/import.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'apiextractormacros.h')
-rw-r--r--apiextractormacros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apiextractormacros.h b/apiextractormacros.h
index b2cb4b0a..d56741db 100644
--- a/apiextractormacros.h
+++ b/apiextractormacros.h
@@ -5,9 +5,9 @@
// APIEXTRACTOR_API is used for the public API symbols.
#if defined _WIN32 || defined __CYGWIN__
#if APIEXTRACTOR_BUILD
- #define APIEXTRACTOR_API __declspec(dllimport)
- #else
#define APIEXTRACTOR_API __declspec(dllexport)
+ #else
+ #define APIEXTRACTOR_API __declspec(dllimport)
#endif
#else
#if __GNUC__ >= 4