git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e39f925
)
Define MSG_NOSIGNAL to 0 on platforms where it is unavailable.
author
Venkatesh Srinivas
<me@endeavour.zapto.org>
Tue, 6 Sep 2011 18:54:10 +0000 (14:54 -0400)
committer
Venkatesh Srinivas
<me@endeavour.zapto.org>
Tue, 6 Sep 2011 18:54:10 +0000 (14:54 -0400)
Enables building bitcoind on OpenBSD.
src/util.h
patch
|
blob
|
history
diff --git
a/src/util.h
b/src/util.h
index
3d7ef10
..
4a68051
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-81,8
+81,10
@@
T* alignup(T* p)
return u.ptr;
}
-#ifdef __WXMSW__
+#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
+#endif
+#ifdef __WXMSW__
#define MSG_DONTWAIT 0
#ifndef UINT64_MAX
#define UINT64_MAX _UI64_MAX