Ticket #203: param.diff

File param.diff, 637 bytes (added by KO Myung-Hun, 16 years ago)

Patches for sys/param.h

  • sys/param.h

    diff -EbuNr --strip-trailing-cr sys/param.h.org sys/param.h
    old new  
    201201unsigned long _swapl (unsigned long _x);
    202202#endif
    203203
    204 #if defined (__cplusplus) && (__GNUC__ >= 2)
    205 #  define MIN(a,b) (((a)<?(b))
    206 #else
    207 #  define MIN(a,b) (((a)<(b))?(a):(b))
    208 #endif
    209 #if defined (__cplusplus) && (__GNUC__ >= 2)
    210 #  define MAX(a,b) (((a)>?(b))
    211 #else
    212 #  define MAX(a,b) (((a)>(b))?(a):(b))
    213 #endif
     204#define MIN(a,b) (((a)<(b))?(a):(b))
     205#define MAX(a,b) (((a)>(b))?(a):(b))
    214206
    215207#if defined (__cplusplus)
    216208}