aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/luasocket.h')
-rw-r--r--src/luasocket.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/luasocket.h b/src/luasocket.h
index 0121a15..d22b1be 100644
--- a/src/luasocket.h
+++ b/src/luasocket.h
@@ -6,9 +6,8 @@
6* Diego Nehab 6* Diego Nehab
7* 9/11/1999 7* 9/11/1999
8\*=========================================================================*/ 8\*=========================================================================*/
9#include "lua.h"
10 9
11/*-------------------------------------------------------------------------*\ 10/*-------------------------------------------------------------------------* \
12* Current socket library version 11* Current socket library version
13\*-------------------------------------------------------------------------*/ 12\*-------------------------------------------------------------------------*/
14#define LUASOCKET_VERSION "LuaSocket 3.0-rc1" 13#define LUASOCKET_VERSION "LuaSocket 3.0-rc1"
@@ -25,13 +24,9 @@
25#endif 24#endif
26#endif 25#endif
27 26
28#ifndef LUASOCKET_PRIVATE 27#include "lua.h"
29#ifdef _WIN32 28#include "lauxlib.h"
30#define LUASOCKET_PRIVATE 29#include "compat.h"
31#else
32#define LUASOCKET_PRIVATE __attribute__ ((visibility ("hidden")))
33#endif
34#endif
35 30
36/*-------------------------------------------------------------------------*\ 31/*-------------------------------------------------------------------------*\
37* Initializes the library. 32* Initializes the library.