diff options
Diffstat (limited to 'src/timeout.c')
| -rw-r--r-- | src/timeout.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timeout.c b/src/timeout.c index bd6c3b4..4f9a315 100644 --- a/src/timeout.c +++ b/src/timeout.c | |||
| @@ -26,6 +26,14 @@ | |||
| 26 | #endif | 26 | #endif |
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | /* min and max macros */ | ||
| 30 | #ifndef MIN | ||
| 31 | #define MIN(x, y) ((x) < (y) ? x : y) | ||
| 32 | #endif | ||
| 33 | #ifndef MAX | ||
| 34 | #define MAX(x, y) ((x) > (y) ? x : y) | ||
| 35 | #endif | ||
| 36 | |||
| 29 | /*=========================================================================*\ | 37 | /*=========================================================================*\ |
| 30 | * Internal function prototypes | 38 | * Internal function prototypes |
| 31 | \*=========================================================================*/ | 39 | \*=========================================================================*/ |
