aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 84c381d7..88c68934 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -124,6 +124,16 @@
124#define usleep(useconds) (void)SleepEx((useconds)/1000, 1) 124#define usleep(useconds) (void)SleepEx((useconds)/1000, 1)
125#endif 125#endif
126 126
127#if !defined(SHUT_WR) && defined(SD_SEND)
128#define SHUT_WR SD_SEND
129#endif
130#if !defined(SHUT_RD) && defined(SD_RECEIVE)
131#define SHUT_RD SD_RECEIVE
132#endif
133#if !defined(SHUT_RDWR) && defined(SD_BOTH)
134#define SHUT_RDWR SD_BOTH
135#endif
136
127#ifndef MHD_SOCKET_DEFINED 137#ifndef MHD_SOCKET_DEFINED
128/** 138/**
129 * MHD_socket is type for socket FDs 139 * MHD_socket is type for socket FDs