summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-21 21:11:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-21 21:11:12 +0000
commitf6c6487a7fbe3f34af46c7923fc905a118aaf302 (patch)
treefd03f0eb669aef01236fb66043a8257ea10a1fd6 /ext/POSIX
parent57ff9a15b1566945fcd54bfbac75501e3ca969c2 (diff)
downloadperl-f6c6487a7fbe3f34af46c7923fc905a118aaf302.tar.gz
[win32] more mingw32 tweaks
p4raw-id: //depot/win32/perl@1024
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.xs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 97404b8426..6b9611129f 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -110,7 +110,12 @@
# endif
# ifdef __MINGW32__
# define mode_t short
-# define tzset() not_here("tzset")
+# ifndef tzset
+# define tzset() not_here("tzset")
+# endif
+# ifndef _POSIX_OPEN_MAX
+# define _POSIX_OPEN_MAX FOPEN_MAX /* XXX bogus ? */
+# endif
# endif
# define sigaction(a,b,c) not_here("sigaction")
# define sigpending(a) not_here("sigpending")