From: Gurusamy Sarathy Date: Wed, 2 Feb 2000 11:19:19 +0000 (+0000) Subject: on cygwin, h_errno is now "__declspec(dllimport) int h_errno" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df4e335fb6f784af31de56465cdc0b78a95521e1;p=p5sagit%2Fp5-mst-13.2.git on cygwin, h_errno is now "__declspec(dllimport) int h_errno" (from Eric Fifer ) p4raw-id: //depot/perl@4965 --- diff --git a/pp_sys.c b/pp_sys.c index df0fb42..59811e2 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -77,7 +77,7 @@ extern "C" int syscall(unsigned long,...); compiling multithreaded and singlethreaded ($ccflags et al). HOST_NOT_FOUND is typically defined in . */ -#if defined(HOST_NOT_FOUND) && !defined(h_errno) +#if defined(HOST_NOT_FOUND) && !defined(h_errno) && !defined(__CYGWIN__) extern int h_errno; #endif