aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-13 02:34:45 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-13 02:34:45 +0000
commitadb50ffe32c5c37c84ff35d94bb486004e14a7cc (patch)
tree8bcc91c976dde7834f8a0174b0a80cb4a2f08cb5
parente899779450bcd940dcdb0108d27c35eae92cc1e1 (diff)
misc
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@48 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r--util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.h b/util.h
index ae53bfedbe..b9c3658f76 100644
--- a/util.h
+++ b/util.h
@@ -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