Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.

This commit is contained in:
Yang Tse
2006-07-05 23:10:37 +00:00
parent c6ae0ebcbf
commit bc2f0c7dcb
9 changed files with 208 additions and 11 deletions

View File

@@ -59,7 +59,9 @@
#include <stdio.h>
#include <time.h>
#ifndef __CYGWIN__
#include <windows.h>
#endif
#include <curl/curl.h>