summaryrefslogtreecommitdiff
path: root/perlsdio.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-18 09:40:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-18 09:40:58 +0000
commit1ee471915a447a9a4da52817b2a92db2a1c9f791 (patch)
tree9c69a323f89cdd81b231dc630b0eaf134225da7a /perlsdio.h
parent4ab7b2a0eb20f3cacb6a1fbfad60651714c7e285 (diff)
parent4c3bfd8b7d4407618aca1b786307418cdb783ed5 (diff)
downloadperl-1ee471915a447a9a4da52817b2a92db2a1c9f791.tar.gz
[asperl] integrate mainline changes (untested)
p4raw-id: //depot/asperl@1010
Diffstat (limited to 'perlsdio.h')
-rw-r--r--perlsdio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/perlsdio.h b/perlsdio.h
index a539a0a3d9..efc52e1cd4 100644
--- a/perlsdio.h
+++ b/perlsdio.h
@@ -272,8 +272,14 @@
#define fputc(c,f) PerlIO_putc(f,c)
#define fputs(s,f) PerlIO_puts(f,s)
#define getc(f) PerlIO_getc(f)
+#ifdef getc_unlocked
+#undef getc_unlocked
+#endif
#define getc_unlocked(f) PerlIO_getc(f)
#define putc(c,f) PerlIO_putc(f,c)
+#ifdef putc_unlocked
+#undef putc_unlocked
+#endif
#define putc_unlocked(c,f) PerlIO_putc(c,f)
#define ungetc(c,f) PerlIO_ungetc(f,c)
#if 0