diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-12-13 02:34:45 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2009-12-13 02:34:45 +0000 |
commit | 2ed2b9a3e42110beb657efb51360cb545c6a72f8 (patch) | |
tree | 8bcc91c976dde7834f8a0174b0a80cb4a2f08cb5 | |
parent | bd336ba27283106a5ae6b77f8a77561c644f114c (diff) |
misc
-rw-r--r-- | util.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,6 +62,10 @@ inline T& REF(const T& val) #define INT64_MAX _I64_MAX
#define INT64_MIN _I64_MIN
#endif
+#ifndef S_IRUSR
+#define S_IRUSR 0400
+#define S_IWUSR 0200
+#endif
#else
#define WSAGetLastError() errno
#define WSAEWOULDBLOCK EWOULDBLOCK
|