diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:39:59 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:39:59 +0000 |
commit | 41ea8b14cd9a69d2c1b2be6e08d37282fdadd0b3 (patch) | |
tree | 24c8aa6efdc7cce07b8dd20859efc7d2298c63b4 /src/include/platform.h | |
parent | 93ed5e5d6665a8f7c5a442b21cc057b89fa26128 (diff) | |
download | libmicrohttpd-41ea8b14cd9a69d2c1b2be6e08d37282fdadd0b3.tar.gz libmicrohttpd-41ea8b14cd9a69d2c1b2be6e08d37282fdadd0b3.zip |
Remove PlibC wrappers and macros
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 10 |
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 |