summaryrefslogtreecommitdiff
path: root/os2/os2ish.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-04 06:42:47 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-04 06:42:47 +0000
commitbddf753545b1f99202363952f36834e27d029d13 (patch)
tree6843a2c96afdc35a7884b2c74e8ced341b2af318 /os2/os2ish.h
parent032dc9daebeb4619e740142d7ab40110166b12c0 (diff)
downloadperl-bddf753545b1f99202363952f36834e27d029d13.tar.gz
fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich)
p4raw-id: //depot/perl@5519
Diffstat (limited to 'os2/os2ish.h')
-rw-r--r--os2/os2ish.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os2/os2ish.h b/os2/os2ish.h
index f254b5cacb..8b7613eb32 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -239,6 +239,9 @@ int my_syspclose(PerlIO *f);
FILE *my_tmpfile (void);
char *my_tmpnam (char *);
+#undef L_tmpnam
+#define L_tmpnam MAXPATHLEN
+
#define tmpfile my_tmpfile
#define tmpnam my_tmpnam
#define isatty _isterm