projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More nixio fixes, initial httpclient
[project/luci.git]
/
libs
/
nixio
/
src
/
nixio.h
diff --git
a/libs/nixio/src/nixio.h
b/libs/nixio/src/nixio.h
index
e4bb6d6
..
cdb4359
100644
(file)
--- 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