Changeset 4323


Ignore:
Timestamp:
Feb 7, 2010, 6:01:16 PM (8 years ago)
Author:
Sam Hocevar
Message:

Only define CACA_ALIAS with gcc > 3 (instead of >= 3). Patch courtesy of
Carlo Bramini. Addresses #48.

File:
1 edited

Legend:

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

    r4318 r4323  
    645645#   if defined __GNUC__ && __GNUC__ >= 3
    646646#       define CACA_DEPRECATED __attribute__ ((__deprecated__))
     647#   else
     648#       define CACA_DEPRECATED
     649#   endif
     650
     651#   if defined __GNUC__ && __GNUC__ > 3
    647652#       define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
    648653#   else
    649 #       define CACA_DEPRECATED
    650654#       define CACA_ALIAS(x)
    651655#   endif
Note: See TracChangeset for help on using the changeset viewer.