Ignore:
Timestamp:
Aug 2, 2009, 1:09:23 PM (11 years ago)
Author:
Sam Hocevar
Message:

Since caca.h now exports variables, we need declspec(dllimport), otherwise
they won't be seen by the linker when linking dynamically. Fix caca0.h
accordingly.

File:
1 edited

Legend:

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

    r2858 r3604  
    2727#elif defined(_WIN32) && defined(__LIBCACA__)
    2828#   define __extern extern __declspec(dllexport)
     29#elif defined(_WIN32)
     30#   define __extern extern __declspec(dllimport)
    2931#else
    3032#   define __extern extern
Note: See TracChangeset for help on using the changeset viewer.