From 55af14187354e777f7d0b298926c69ac538da059 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 13 Jun 2012 11:34:11 +0000 Subject: [PATCH] caca: allow to define the CACA_STATIC macro to deactivate dllimport specifiers; this is required for proper static link. --- caca/caca.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca/caca.h b/caca/caca.h index 75bf408..689afde 100644 --- a/caca/caca.h +++ b/caca/caca.h @@ -31,7 +31,7 @@ #if defined _DOXYGEN_SKIP_ME #elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT # define __extern extern __declspec(dllexport) -#elif defined _WIN32 && !defined __LIBCACA__ +#elif defined _WIN32 && !defined __LIBCACA__ && !defined CACA_STATIC # define __extern extern __declspec(dllimport) #else # define __extern extern