upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/rpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc.cpp')
-rw-r--r--src/rpc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp
index 97d8429..41c0328 100644
--- a/src/rpc.cpp
+++ b/src/rpc.cpp
@@ -46,10 +46,10 @@
46using json = nlohmann::json; 46using json = nlohmann::json;
47 47
48#ifdef _WIN32 48#ifdef _WIN32
49#define sock_close(s) closesocket(s) 49#define sock_close(s) BtfCloseSocket(s)
50#define SEND_FLAGS 0 50#define SEND_FLAGS 0
51#else 51#else
52#define sock_close(s) ::close(s) 52#define sock_close(s) BtfCloseSocket(s)
53#define SEND_FLAGS MSG_NOSIGNAL 53#define SEND_FLAGS MSG_NOSIGNAL
54#endif 54#endif
55 55