libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit bda741a432b6f6c7cb907c8fbde39c0038abe9ce
parent ceae73d954b01e91c5c2f027a9ce67c7bb05a767
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 18 Feb 2014 18:41:07 +0000

Don't allow compile with unsupported Cygwin configuration

Diffstat:
Msrc/include/microhttpd.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -117,6 +117,11 @@ extern "C" #endif #endif +#if defined(__CYGWIN__) && !defined(_SYS_TYPES_FD_SET) +/* Do not define __USE_W32_SOCKETS under Cygwin! */ +#error Cygwin with winsock fd_set is not supported +#endif + /** * Current version of the library. * 0x01093001 = 1.9.30-1.