diff options
| author | Venkatesh Srinivas <[email protected]> | 2011-09-06 14:54:10 -0400 |
|---|---|---|
| committer | Venkatesh Srinivas <[email protected]> | 2011-09-06 14:54:10 -0400 |
| commit | 6a0296791d5e81102a12a3142f5be25cb40f9825 (patch) | |
| tree | 16c20b055f9ad72b591cd1cf0b0a28e09b90a913 /src | |
| parent | ignore stuff (diff) | |
| download | discoin-6a0296791d5e81102a12a3142f5be25cb40f9825.tar.xz discoin-6a0296791d5e81102a12a3142f5be25cb40f9825.zip | |
Define MSG_NOSIGNAL to 0 on platforms where it is unavailable.
Enables building bitcoind on OpenBSD.
Diffstat (limited to 'src')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 3d7ef108b..4a68051a6 100644 --- 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 |