Sfoglia il codice sorgente

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 13 anni fa
parent
commit
55af141873
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      caca/caca.h

+ 1
- 1
caca/caca.h Vedi 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


Caricamento…
Annulla
Salva