Changeset 3604 for libcaca/trunk


Ignore:
Timestamp:
Aug 2, 2009, 1:09:23 PM (10 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.

Location:
libcaca/trunk/caca
Files:
2 edited

Legend:

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

    r3603 r3604  
    3636#elif defined(_WIN32) && defined(__LIBCACA__)
    3737#   define __extern extern __declspec(dllexport)
     38#elif defined(_WIN32)
     39#   define __extern extern __declspec(dllimport)
    3840#else
    3941#   define __extern extern
  • 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.