From bddf753545b1f99202363952f36834e27d029d13 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sat, 4 Mar 2000 06:42:47 +0000 Subject: [PATCH] fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich) p4raw-id: //depot/perl@5519 --- os2/os2ish.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os2/os2ish.h b/os2/os2ish.h index f254b5c..8b7613e 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 -- 2.7.4