Ver código fonte

Since caca.h now exports variables, we need __declspec(dllimport), otherwise

they won't be seen by the linker when linking dynamically. Fix caca0.h
accordingly.
tags/v0.99.beta17
Sam Hocevar sam 15 anos atrás
pai
commit
e3faf62787
2 arquivos alterados com 4 adições e 0 exclusões
  1. +2
    -0
      caca/caca.h
  2. +2
    -0
      caca/caca0.h

+ 2
- 0
caca/caca.h Ver arquivo

@@ -35,6 +35,8 @@
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
# define __extern extern __declspec(dllimport)
#else
# define __extern extern
#endif


+ 2
- 0
caca/caca0.h Ver arquivo

@@ -26,6 +26,8 @@
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
# define __extern extern __declspec(dllimport)
#else
# define __extern extern
#endif


Carregando…
Cancelar
Salvar