diff --git a/src/pre_generated-zmq.nobj.c b/src/pre_generated-zmq.nobj.c index 6865c10..2c30661 100644 --- a/src/pre_generated-zmq.nobj.c +++ b/src/pre_generated-zmq.nobj.c @@ -1742,14 +1742,12 @@ static const char zmq_ffi_lua_code[] = "-- try loading luajit's ffi\n" typedef void * ZMQ_Socket; -#if VERSION_2_1 #ifdef _WIN32 #include typedef SOCKET socket_t; #else typedef int socket_t; #endif -#endif /* socket option types. */ #define OPT_TYPE_NONE 0 diff --git a/src/socket.nobj.lua b/src/socket.nobj.lua index 2efc55a..ea862f8 100644 --- a/src/socket.nobj.lua +++ b/src/socket.nobj.lua @@ -35,14 +35,12 @@ typedef void * ZMQ_Socket; typedef void * ZMQ_Socket; -#if VERSION_2_1 #ifdef _WIN32 #include typedef SOCKET socket_t; #else typedef int socket_t; #endif -#endif /* socket option types. */ #define OPT_TYPE_NONE 0