From 41ea8b14cd9a69d2c1b2be6e08d37282fdadd0b3 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Tue, 18 Feb 2014 18:39:59 +0000 Subject: Remove PlibC wrappers and macros --- src/include/platform.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/platform.h') 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 @@ #define usleep(useconds) (void)SleepEx((useconds)/1000, 1) #endif +#if !defined(SHUT_WR) && defined(SD_SEND) +#define SHUT_WR SD_SEND +#endif +#if !defined(SHUT_RD) && defined(SD_RECEIVE) +#define SHUT_RD SD_RECEIVE +#endif +#if !defined(SHUT_RDWR) && defined(SD_BOTH) +#define SHUT_RDWR SD_BOTH +#endif + #ifndef MHD_SOCKET_DEFINED /** * MHD_socket is type for socket FDs -- cgit v1.2.3