diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-15 20:05:23 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-15 20:05:23 +0000 |
commit | 680473dd328698068fb65245e401035370667530 (patch) | |
tree | 44c37c369e446bba56710950c6946899c9651c90 /src | |
parent | 58096449c6044b7aade5cd41cfd71c6bec1d273d (diff) | |
download | luasocket-680473dd328698068fb65245e401035370667530.tar.gz luasocket-680473dd328698068fb65245e401035370667530.tar.bz2 luasocket-680473dd328698068fb65245e401035370667530.zip |
Runs on Linux.
Diffstat (limited to 'src')
-rw-r--r-- | src/udp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -15,6 +15,14 @@ | |||
15 | #include "options.h" | 15 | #include "options.h" |
16 | #include "udp.h" | 16 | #include "udp.h" |
17 | 17 | ||
18 | /* min and max macros */ | ||
19 | #ifndef MIN | ||
20 | #define MIN(x, y) ((x) < (y) ? x : y) | ||
21 | #endif | ||
22 | #ifndef MAX | ||
23 | #define MAX(x, y) ((x) > (y) ? x : y) | ||
24 | #endif | ||
25 | |||
18 | /*=========================================================================*\ | 26 | /*=========================================================================*\ |
19 | * Internal function prototypes | 27 | * Internal function prototypes |
20 | \*=========================================================================*/ | 28 | \*=========================================================================*/ |