diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-08-17 17:57:33 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-08-17 17:57:33 +0000 |
commit | c45598c5c02384ee183c07ababc5e058b2284e17 (patch) | |
tree | 9d8604f34d67cf178d87224885ad7c6432e86d0e | |
parent | c68480ca39f58e0c7bce1d278886ddf251baa5f7 (diff) | |
download | perl-c45598c5c02384ee183c07ababc5e058b2284e17.tar.gz |
syscall() declaration in perl.h needs to have an EXTERN_C prefixing
it for some C++ compiles. Might as well fix usleep()'s
declaration too.
p4raw-id: //depot/perl@28733
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -587,11 +587,11 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); #endif #if defined(HAS_SYSCALL) && !defined(HAS_SYSCALL_PROTO) && !defined(PERL_MICRO) -int syscall(int, ...); +EXTERN_C int syscall(int, ...); #endif #if defined(HAS_USLEEP) && !defined(HAS_USLEEP_PROTO) && !defined(PERL_MICRO) -int usleep(unsigned int); +EXTERN_C int usleep(unsigned int); #endif #ifdef PERL_MICRO /* Last chance to export Perl_my_swap */ |