From adb50ffe32c5c37c84ff35d94bb486004e14a7cc Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Sun, 13 Dec 2009 02:34:45 +0000 Subject: [PATCH] misc git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@48 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util.h b/util.h index ae53bfed..b9c3658f 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