|
|
|
@ -1742,14 +1742,12 @@ static const char zmq_ffi_lua_code[] = "-- try loading luajit's ffi\n"
|
|
|
|
|
|
|
|
|
|
|
|
typedef void * ZMQ_Socket;
|
|
|
|
typedef void * ZMQ_Socket;
|
|
|
|
|
|
|
|
|
|
|
|
#if VERSION_2_1
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <winsock2.h>
|
|
|
|
#include <winsock2.h>
|
|
|
|
typedef SOCKET socket_t;
|
|
|
|
typedef SOCKET socket_t;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
typedef int socket_t;
|
|
|
|
typedef int socket_t;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* socket option types. */
|
|
|
|
/* socket option types. */
|
|
|
|
#define OPT_TYPE_NONE 0
|
|
|
|
#define OPT_TYPE_NONE 0
|
|
|
|
|