diff options
author | Steven Barth <steven@midlink.org> | 2009-02-18 21:46:55 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-02-18 21:46:55 +0000 |
commit | cbc49a3b537e2e7cc49166f9d85e730d0f7d6275 (patch) | |
tree | d593ea5a84a8a1590367046074d13e65fb9ac1a2 /libs/nixio/src/nixio.h | |
parent | e062ec6981cc6a351b2a79676bdfc9054db44655 (diff) |
More nixio fixes, initial httpclient
Diffstat (limited to 'libs/nixio/src/nixio.h')
-rw-r--r-- | libs/nixio/src/nixio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/src/nixio.h b/libs/nixio/src/nixio.h index e4bb6d6de9..cdb43599ee 100644 --- a/libs/nixio/src/nixio.h +++ b/libs/nixio/src/nixio.h @@ -6,6 +6,10 @@ #define NIXIO_BUFFERSIZE 8096 #define _FILE_OFFSET_BITS 64 +#define NIXIO_PUSH_CONSTANT(x) \ + lua_pushinteger(L, x); \ + lua_setfield(L, -2, #x); + /* uClibc: broken as always */ #define _LARGEFILE_SOURCE |