Ticket #203: param.2.diff
File param.2.diff, 489 bytes (added by , 14 years ago) |
---|
-
sys/param.h
old new 202 202 #endif 203 203 204 204 #if defined (__cplusplus) && (__GNUC__ >= 2) 205 # define MIN(a,b) (((a)<?(b)) 205 # define MIN(a,b) (((a)<?(b))) 206 206 #else 207 207 # define MIN(a,b) (((a)<(b))?(a):(b)) 208 208 #endif 209 209 #if defined (__cplusplus) && (__GNUC__ >= 2) 210 # define MAX(a,b) (((a)>?(b)) 210 # define MAX(a,b) (((a)>?(b))) 211 211 #else 212 212 # define MAX(a,b) (((a)>(b))?(a):(b)) 213 213 #endif