Changeset 4818 for libcaca


Ignore:
Timestamp:
Jun 13, 2012, 1:34:11 PM (6 years ago)
Author:
Sam Hocevar
Message:

caca: allow to define the CACA_STATIC macro to deactivate dllimport
specifiers; this is required for proper static link.

File:
1 edited

Legend:

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

    r4815 r4818  
    3232#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
    3333#   define __extern extern __declspec(dllexport)
    34 #elif defined _WIN32 && !defined __LIBCACA__
     34#elif defined _WIN32 && !defined __LIBCACA__ && !defined CACA_STATIC
    3535#   define __extern extern __declspec(dllimport)
    3636#else
Note: See TracChangeset for help on using the changeset viewer.