Browse Source

caca: allow to define the CACA_STATIC macro to deactivate dllimport

specifiers; this is required for proper static link.
tags/v0.99.beta19
Sam Hocevar sam 12 years ago
parent
commit
55af141873
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca/caca.h

+ 1
- 1
caca/caca.h View File

@@ -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


Loading…
Cancel
Save