add tsock
This commit is contained in:
parent
7f8ba596fe
commit
8af78369ea
@ -89,10 +89,16 @@ typedef __int64 tbus;
|
|||||||
#else
|
#else
|
||||||
typedef long tbus;
|
typedef long tbus;
|
||||||
#endif
|
#endif
|
||||||
#if defined _WIN32
|
#if defined(_WIN32)
|
||||||
typedef unsigned short twchar;
|
typedef unsigned short twchar;
|
||||||
#else
|
#else
|
||||||
typedef int twchar;
|
typedef int twchar;
|
||||||
#endif
|
#endif
|
||||||
|
/* socket is different in win32 */
|
||||||
|
#if defined(_WIN32)
|
||||||
|
typedef unsigned int tsock;
|
||||||
|
#else
|
||||||
|
typedef int tsock;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user