Changeset 1760


Ignore:
Timestamp:
03/14/12 15:00:22 (15 months ago)
Author:
salcock
Message:
  • Fixed build error due to iow-lzo.c requiring libtrace.h
Location:
trunk/libwandio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libwandio/iow-lzo.c

    r1757 r1760  
    6060#endif 
    6161 
    62 #include "libtrace.h" 
    6362 
    6463enum {  
  • trunk/libwandio/wandio.h

    r1757 r1760  
    5353#endif 
    5454 
     55#if __GNUC__ >= 3  
     56#  define DEPRECATED __attribute__((deprecated)) 
     57#  define SIMPLE_FUNCTION __attribute__((pure)) 
     58#  define UNUSED __attribute__((unused)) 
     59#  define PACKED __attribute__((packed)) 
     60#  define PRINTF(formatpos,argpos) __attribute__((format(printf,formatpos,argpos))) 
     61#else 
     62#  define DEPRECATED 
     63#  define SIMPLE_FUNCTION 
     64#  define UNUSED 
     65#  define PACKED  
     66#  define PRINTF(formatpos,argpos)  
     67#endif 
    5568 
    5669 
Note: See TracChangeset for help on using the changeset viewer.