diff options
author | Alexander Smishlajev <als@turnhere.com> | 1999-04-25 17:58:29 +0300 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 04:39:15 +0000 |
commit | 8736538c3cff6585c95a01b990d3b3a9e5d5744d (patch) | |
tree | a62ec1da701a15abcbfdff76f248259b80548f1a /dosish.h | |
parent | 3eeba6fb8b434fcb27f601771baa0ea98f44d487 (diff) | |
download | perl-8736538c3cff6585c95a01b990d3b3a9e5d5744d.tar.gz |
cygwin32 update (untested adaptation of patch against 5.005_03)
Message-ID: <37230365.5F68B460@turnhere.com>
Subject: [PATCH]5.005_03 (CORE) cygwin32 port
p4raw-id: //depot/perl@3358
Diffstat (limited to 'dosish.h')
-rw-r--r-- | dosish.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -23,8 +23,22 @@ # define PERL_SYS_INIT(c,v) Perl_win32_init(c,v) # define BIT_BUCKET "nul" # else -# define PERL_SYS_INIT(c,v) -# define BIT_BUCKET "\\dev\\nul" /* "wanna be like, umm, Newlined, or somethin?" */ +# ifdef CYGWIN32 + extern struct _reent *__imp_reent_data; /* global impure pointer */ +# define PERL_SYS_INIT(c,v) \ + MALLOC_INIT; impure_setup(__imp_reent_data); +# define OP_BINARY O_BINARY +# define BIT_BUCKET "nul" +# define HAS_IOCTL +# define HAS_UTIME +# define HAS_KILL +# define HAS_WAIT +# define HAS_CHOWN +# define HAS_GROUP +# else +# define PERL_SYS_INIT(c,v) +# define BIT_BUCKET "\\dev\\nul" /* "wanna be like, umm, Newlined, or somethin?" */ +# endif # endif #endif /* DJGPP */ |