aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormoteus <mimir@newmail.ru>2013-05-27 12:45:09 +0400
committermoteus <mimir@newmail.ru>2013-05-27 12:45:09 +0400
commit920bc9762954454468d056a61391635cbd849406 (patch)
tree048c112f95fa578d239ae3e35b2aec0a482f0c23 /test
parentbd51d8c1a5bb30e6a358dee6e85963f777edfff4 (diff)
downloadluasocket-920bc9762954454468d056a61391635cbd849406.tar.gz
luasocket-920bc9762954454468d056a61391635cbd849406.tar.bz2
luasocket-920bc9762954454468d056a61391635cbd849406.zip
Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
Diffstat (limited to 'test')
-rw-r--r--test/hello.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hello.lua b/test/hello.lua
index cfa5c82..3f385dc 100644
--- a/test/hello.lua
+++ b/test/hello.lua
@@ -1,3 +1,3 @@
1require"socket" 1local socket = require"socket"
2require"mime" 2local mime = require"mime"
3print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!") 3print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!")