summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2010-04-21 16:49:09 -0700
committerJan Dubois <jand@activestate.com>2010-04-21 16:49:09 -0700
commit20c8f8f9118fd23081c818637815bf1aab60b808 (patch)
tree4e10db2b1cd8426ae0690498475e31832741417d /XSUB.h
parent634b482c7069a79619bb705e45cb5de0d3d665bd (diff)
downloadperl-20c8f8f9118fd23081c818637815bf1aab60b808.tar.gz
XSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't.
See also http://rt.cpan.org/Public/Bug/Display.html?id=55049 with workaround in http://code.google.com/p/perl-devel-nytprof/source/detail?r=1168
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/XSUB.h b/XSUB.h
index f23df37399..06cb1c35e1 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -507,6 +507,7 @@ Rethrows a previously caught exception. See L<perlguts/"Exception Handling">.
# define ferror PerlSIO_ferror
# define clearerr PerlSIO_clearerr
# define getc PerlSIO_getc
+# define fgets PerlSIO_fgets
# define fputc PerlSIO_fputc
# define fputs PerlSIO_fputs
# define fflush PerlSIO_fflush