s_nakamoto 15 years ago
parent
commit
2ed2b9a3e4
  1. 4
      util.h

4
util.h

@ -62,6 +62,10 @@ inline T& REF(const T& val)
#define INT64_MAX _I64_MAX #define INT64_MAX _I64_MAX
#define INT64_MIN _I64_MIN #define INT64_MIN _I64_MIN
#endif #endif
#ifndef S_IRUSR
#define S_IRUSR 0400
#define S_IWUSR 0200
#endif
#else #else
#define WSAGetLastError() errno #define WSAGetLastError() errno
#define WSAEWOULDBLOCK EWOULDBLOCK #define WSAEWOULDBLOCK EWOULDBLOCK

Loading…
Cancel
Save