Show More
@@ -105,7 +105,7 b" if os.name != 'nt':" | |||
|
105 | 105 | |
|
106 | 106 | _libc = ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True) |
|
107 | 107 | _recvmsg = _libc.recvmsg |
|
108 |
_recvmsg.restype = ctypes.c_ |
|
|
108 | _recvmsg.restype = getattr(ctypes, 'c_ssize_t', ctypes.c_long) | |
|
109 | 109 | _recvmsg.argtypes = (ctypes.c_int, ctypes.POINTER(_msghdr), ctypes.c_int) |
|
110 | 110 | |
|
111 | 111 | def _CMSG_FIRSTHDR(msgh): |
General Comments 0
You need to be logged in to leave comments.
Login now