mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 20:18:21 +01:00
luasocket: include centralization
This commit is contained in:
parent
ee30e4643d
commit
2015290cb4
@ -12,16 +12,6 @@
|
|||||||
* standard Lua read and write functions.
|
* standard Lua read and write functions.
|
||||||
\*=========================================================================*/
|
\*=========================================================================*/
|
||||||
|
|
||||||
/*=========================================================================*\
|
|
||||||
* Standard include files
|
|
||||||
\*=========================================================================*/
|
|
||||||
#include "lua.h"
|
|
||||||
#include "lauxlib.h"
|
|
||||||
#include "compat.h"
|
|
||||||
|
|
||||||
/*=========================================================================*\
|
|
||||||
* LuaSocket includes
|
|
||||||
\*=========================================================================*/
|
|
||||||
#include "luasocket.h"
|
#include "luasocket.h"
|
||||||
#include "auxiliar.h"
|
#include "auxiliar.h"
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
* Diego Nehab
|
* Diego Nehab
|
||||||
* 9/11/1999
|
* 9/11/1999
|
||||||
\*=========================================================================*/
|
\*=========================================================================*/
|
||||||
#include "lua.h"
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------* \
|
||||||
* Current socket library version
|
* Current socket library version
|
||||||
\*-------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------*/
|
||||||
#define LUASOCKET_VERSION "LuaSocket 3.0-rc1"
|
#define LUASOCKET_VERSION "LuaSocket 3.0-rc1"
|
||||||
@ -25,13 +24,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LUASOCKET_PRIVATE
|
#include "lua.h"
|
||||||
#ifdef _WIN32
|
#include "lauxlib.h"
|
||||||
#define LUASOCKET_PRIVATE
|
#include "compat.h"
|
||||||
#else
|
|
||||||
#define LUASOCKET_PRIVATE __attribute__ ((visibility ("hidden")))
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------*\
|
||||||
* Initializes the library.
|
* Initializes the library.
|
||||||
|
Loading…
Reference in New Issue
Block a user