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/caca.h

    r4323 r4325  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    55 *
     
    3232
    3333#undef __extern
    34 #if defined(_DOXYGEN_SKIP_ME)
    35 #elif defined(_WIN32) && defined(__LIBCACA__)
     34#if defined _DOXYGEN_SKIP_ME
     35#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
    3636#   define __extern extern __declspec(dllexport)
    37 #elif defined(_WIN32)
     37#elif defined _WIN32 && !defined __LIBCACA__
    3838#   define __extern extern __declspec(dllimport)
    3939#else
Note: See TracChangeset for help on using the changeset viewer.