瀏覽代碼

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 年之前
父節點
當前提交
55af141873
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      caca/caca.h

+ 1
- 1
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


Loading…
取消
儲存