- 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:
Christoph Oelckers 2009-04-07 07:06:07 +00:00
commit a908834a11
22 changed files with 31 additions and 20 deletions

View file

@ -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