diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
commit | bc2f0c7dcbd22ab52971df4a419933e70f263a3f (patch) | |
tree | f0691aecd2dab76f769aa04ad94c18a8fa4ed6aa /docs/examples/synctime.c | |
parent | c6ae0ebcbf3c7b47ab444195613c6e14843fa248 (diff) | |
download | curl-bc2f0c7dcbd22ab52971df4a419933e70f263a3f.tar.gz |
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Diffstat (limited to 'docs/examples/synctime.c')
-rw-r--r-- | docs/examples/synctime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/examples/synctime.c b/docs/examples/synctime.c index 9f3bba0e9..fc629ee33 100644 --- a/docs/examples/synctime.c +++ b/docs/examples/synctime.c @@ -59,7 +59,9 @@ #include <stdio.h> #include <time.h> +#ifndef __CYGWIN__ #include <windows.h> +#endif #include <curl/curl.h> |