summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
Diffstat (limited to 'os2')
-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