Procházet zdrojové kódy

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

tags/v0.99.beta16
Ben Wiley Sittler bsittler před 17 roky
rodič
revize
0b3b3e6d30
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      caca/caca.h

+ 2
- 1
caca/caca.h Zobrazit soubor

@@ -473,12 +473,13 @@ typedef struct cucul_buffer cucul_buffer_t;

# if defined __GNUC__ && __GNUC__ >= 3
# define CACA_DEPRECATED __attribute__ ((__deprecated__))
# define CACA_ALIAS(x) __attribute__ ((alias(#x)))
# define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
# else
# define CACA_DEPRECATED
# define CACA_ALIAS(x)
# endif


/* Aliases from old libcucul functions */
__extern int cucul_putchar(caca_canvas_t *, int, int,
unsigned long int) CACA_DEPRECATED;


Načítá se…
Zrušit
Uložit