diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-02 11:19:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-02 11:19:19 +0000 |
commit | df4e335fb6f784af31de56465cdc0b78a95521e1 (patch) | |
tree | f71407d97d578c0a545118841b3dcd179f33c551 /pp_sys.c | |
parent | a2dab6bc84ef60a347f02acb58747ad73061f431 (diff) | |
download | perl-df4e335fb6f784af31de56465cdc0b78a95521e1.tar.gz |
on cygwin, h_errno is now "__declspec(dllimport) int h_errno"
(from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4965
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ extern "C" int syscall(unsigned long,...); compiling multithreaded and singlethreaded ($ccflags et al). HOST_NOT_FOUND is typically defined in <netdb.h>. */ -#if defined(HOST_NOT_FOUND) && !defined(h_errno) +#if defined(HOST_NOT_FOUND) && !defined(h_errno) && !defined(__CYGWIN__) extern int h_errno; #endif |