瀏覽代碼

Fix dllexport usage, courtesy of Carlo Bramini in #48.

tags/v0.99.beta17
Sam Hocevar sam 15 年之前
父節點
當前提交
51cf438fb0
共有 2 個檔案被更改,包括 7 行新增7 行删除
  1. +4
    -4
      caca/caca.h
  2. +3
    -3
      caca/caca0.h

+ 4
- 4
caca/caca.h 查看文件

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* $Id$
@@ -31,10 +31,10 @@
#endif

#undef __extern
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
#if defined _DOXYGEN_SKIP_ME
#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
#elif defined _WIN32 && !defined __LIBCACA__
# define __extern extern __declspec(dllimport)
#else
# define __extern extern


+ 3
- 3
caca/caca0.h 查看文件

@@ -23,10 +23,10 @@
#include <caca.h>

#undef __extern
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
#if defined _DOXYGEN_SKIP_ME
#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
#elif defined _WIN32 && !defined __LIBCACA__
# define __extern extern __declspec(dllimport)
#else
# define __extern extern


Loading…
取消
儲存