This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2dab6b
)
on cygwin, h_errno is now "__declspec(dllimport) int h_errno"
author
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 2 Feb 2000 11:19:19 +0000
(11:19 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 2 Feb 2000 11:19:19 +0000
(11:19 +0000)
(from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4965
pp_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
df0fb42
..
59811e2
100644
(file)
--- 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 <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