- added some default definitions for constants that may miss in some headers.
- replaced __va_copy with va_copy per Chris's suggestion. - replaced #include <malloc.h> with #include <stdlib.h> where possible. SVN r1524 (trunk)
This commit is contained in:
parent
c8e01f9f91
commit
a908834a11
22 changed files with 31 additions and 20 deletions
|
|
@ -81,8 +81,11 @@ typedef int SOCKET;
|
|||
#define WSAGetLastError() errno
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
#ifndef IPPORT_USERRESERVED
|
||||
#define IPPORT_USERRESERVED 5000
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue