浏览代码

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 年前
父节点
当前提交
e3faf62787
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. +2
    -0
      caca/caca.h
  2. +2
    -0
      caca/caca0.h

+ 2
- 0
caca/caca.h 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存