Ignore:
Timestamp:
Feb 7, 2010, 6:21:51 PM (10 years ago)
Author:
Sam Hocevar
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca0.h

    r4324 r4325  
    2424
    2525#undef __extern
    26 #if defined(_DOXYGEN_SKIP_ME)
    27 #elif defined(_WIN32) && defined(__LIBCACA__)
     26#if defined _DOXYGEN_SKIP_ME
     27#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
    2828#   define __extern extern __declspec(dllexport)
    29 #elif defined(_WIN32)
     29#elif defined _WIN32 && !defined __LIBCACA__
    3030#   define __extern extern __declspec(dllimport)
    3131#else
Note: See TracChangeset for help on using the changeset viewer.