Runs on Linux.

This commit is contained in:
Diego Nehab 2004-06-15 20:05:23 +00:00
parent 58096449c6
commit 680473dd32
4 changed files with 11 additions and 3 deletions

View File

@ -15,6 +15,14 @@
#include "options.h" #include "options.h"
#include "udp.h" #include "udp.h"
/* min and max macros */
#ifndef MIN
#define MIN(x, y) ((x) < (y) ? x : y)
#endif
#ifndef MAX
#define MAX(x, y) ((x) > (y) ? x : y)
#endif
/*=========================================================================*\ /*=========================================================================*\
* Internal function prototypes * Internal function prototypes
\*=========================================================================*/ \*=========================================================================*/

View File

@ -8,7 +8,7 @@ local qptest = "qptest.bin"
local eqptest = "qptest.bin2" local eqptest = "qptest.bin2"
local dqptest = "qptest.bin3" local dqptest = "qptest.bin3"
local b64test = "luasocket.dylib" local b64test = "luasocket.so"
local eb64test = "b64test.bin" local eb64test = "b64test.bin"
local db64test = "b64test.bin2" local db64test = "b64test.bin2"

View File

@ -1,4 +1,4 @@
require"socket" socket = require"socket"
host = host or "localhost" host = host or "localhost"
port = port or "8080" port = port or "8080"

View File

@ -1,4 +1,4 @@
require"socket" socket = require"socket"
host = host or "localhost" host = host or "localhost"
port = port or "8080" port = port or "8080"