Parent Directory | Revision Log | Patch
revision 568 by matthewc, Wed Jan 21 11:08:39 2004 UTC | revision 569 by n-ki, Wed Jan 21 14:40:40 2004 UTC | |
---|---|---|
# | Line 49 | Line 49 |
49 | #endif | #endif |
50 | ||
51 | #define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } | #define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
52 | ||
53 | #ifndef MIN | #ifndef MIN |
54 | #define MIN(x,y) (((x) < (y)) ? (x) : (y)) | #define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
55 | #endif | #endif |
56 | ||
57 | #ifndef MAX | #ifndef MAX |
58 | #define MAX(x,y) (((x) > (y)) ? (x) : (y)) | #define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
59 | #endif | #endif |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |