diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-21 21:11:12 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-21 21:11:12 +0000 |
commit | f6c6487a7fbe3f34af46c7923fc905a118aaf302 (patch) | |
tree | fd03f0eb669aef01236fb66043a8257ea10a1fd6 /ext/POSIX | |
parent | 57ff9a15b1566945fcd54bfbac75501e3ca969c2 (diff) | |
download | perl-f6c6487a7fbe3f34af46c7923fc905a118aaf302.tar.gz |
[win32] more mingw32 tweaks
p4raw-id: //depot/win32/perl@1024
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 7 |
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") |