Changeset 1853 for libcaca


Ignore:
Timestamp:
Oct 28, 2007, 11:27:01 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Only use attribute((deprecated)) with gcc >= 3.x.
File:
1 edited

Legend:

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

    r1809 r1853  
    258258    /* Legacy stuff from beta versions, will probably disappear in 1.0 */
    259259    typedef struct cucul_buffer cucul_buffer_t;
    260 #   ifdef __GNUC__
    261 #       define CUCUL_DEPRECATED __attribute__ ((deprecated))
     260#   if defined __GNUC__ && __GNUC__ >= 3
     261#       define CUCUL_DEPRECATED __attribute__ ((__deprecated__))
    262262#   else
    263263#       define CUCUL_DEPRECATED
Note: See TracChangeset for help on using the changeset viewer.