aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-15 20:05:23 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-15 20:05:23 +0000
commit680473dd328698068fb65245e401035370667530 (patch)
tree44c37c369e446bba56710950c6946899c9651c90 /src
parent58096449c6044b7aade5cd41cfd71c6bec1d273d (diff)
downloadluasocket-680473dd328698068fb65245e401035370667530.tar.gz
luasocket-680473dd328698068fb65245e401035370667530.tar.bz2
luasocket-680473dd328698068fb65245e401035370667530.zip
Runs on Linux.
Diffstat (limited to 'src')
-rw-r--r--src/udp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/udp.c b/src/udp.c
index 51d6402..512cc0b 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -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\*=========================================================================*/