diff options
| author | E. Westbrook <github@westbrook.io> | 2019-02-27 20:57:34 -0700 |
|---|---|---|
| committer | E. Westbrook <github@westbrook.io> | 2019-03-10 00:03:04 -0700 |
| commit | 2015290cb47a804e098a0bf44d349955e453c23a (patch) | |
| tree | 532bc62795caa31d33e8c09f1006b3c5b7942d5e /src/luasocket.h | |
| parent | ee30e4643d276c82775010534cb4877a31bde2f9 (diff) | |
| download | luasocket-2015290cb47a804e098a0bf44d349955e453c23a.tar.gz luasocket-2015290cb47a804e098a0bf44d349955e453c23a.tar.bz2 luasocket-2015290cb47a804e098a0bf44d349955e453c23a.zip | |
luasocket: include centralization
Diffstat (limited to 'src/luasocket.h')
| -rw-r--r-- | src/luasocket.h | 13 |
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. |
