diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/src/unix.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luasocket/src/unix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/src/unix.h b/Build/source/texk/web2c/luatexdir/luasocket/src/unix.h index ad305079dd7..d55444fe575 100644 --- a/Build/source/texk/web2c/luatexdir/luasocket/src/unix.h +++ b/Build/source/texk/web2c/luatexdir/luasocket/src/unix.h @@ -14,6 +14,10 @@ #include "socket.h" #include "luasocket.h" +#ifndef UNIX_API +#define UNIX_API extern +#endif + typedef struct t_unix_ { t_socket sock; t_io io; @@ -22,6 +26,6 @@ typedef struct t_unix_ { } t_unix; typedef t_unix *p_unix; -LUASOCKET_API int luaopen_socket_unix(lua_State *L); +UNIX_API int luaopen_socket_unix(lua_State *L); #endif /* UNIX_H */ |