Ignore:
Timestamp:
Sep 29, 2008, 11:28:37 PM (11 years ago)
Author:
bsittler
Message:

switch to weak aliases so it at least compiles on Mac OS X; note that the aliases do not actually work, so there is no cucul binary compatiblity in fact

File:
1 edited

Legend:

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

    r2851 r2853  
    474474#   if defined __GNUC__ && __GNUC__ >= 3
    475475#       define CACA_DEPRECATED __attribute__ ((__deprecated__))
    476 #       define CACA_ALIAS(x) __attribute__ ((alias(#x)))
     476#       define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
    477477#   else
    478478#       define CACA_DEPRECATED
    479479#       define CACA_ALIAS(x)
    480480#   endif
     481
    481482
    482483/* Aliases from old libcucul functions */
Note: See TracChangeset for help on using the changeset viewer.