summaryrefslogtreecommitdiff
path: root/dosish.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-01-04 07:59:44 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-01-04 07:59:44 +0000
commit2d7a92375815264badaef23c612657cbd4799f31 (patch)
treea21bf70b8eb3f8982a62d2acf344771f2d96e952 /dosish.h
parent25931d335858f0e7767af03260b9bb9ad7a959d5 (diff)
downloadperl-2d7a92375815264badaef23c612657cbd4799f31.tar.gz
[win32] Various win32 fixes
- support spawn via system(&P_NOWAIT,...) like OS2 - support wait() and waitpid() - s/GetCurrentDirectory/GetCwd/, long-named XS to be removed - support -lfoo properly in ExtUtils::Liblist - fix outdated info about Win32 support in perlfaq2 - fix win32 bug in perldoc that causes spurious warnings - regularize global function/variable names yet more - fix bug in do_aspawn() (it was always invoking shell, instead of almost never) - implement and export win32_wait() - stub version of USE_RTL_THREAD_API p4raw-id: //depot/win32/perl@391
Diffstat (limited to 'dosish.h')
-rw-r--r--dosish.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/dosish.h b/dosish.h
index 5704c78cb2..184d3dfb45 100644
--- a/dosish.h
+++ b/dosish.h
@@ -45,12 +45,6 @@
#define dXSUB_SYS
#define TMPPATH "plXXXXXX"
-#ifdef WIN32
-#define HAS_IOCTL
-#define HAS_UTIME
-#define HAS_KILL
-#endif
-
/*
* 5.003_07 and earlier keyed on #ifdef MSDOS for determining if we were
* running on DOS, *and* if we had to cope with 16 bit memory addressing
@@ -124,11 +118,15 @@
#ifndef WIN32
# define Stat(fname,bufptr) stat((fname),(bufptr))
#else
+# define HAS_IOCTL
+# define HAS_UTIME
+# define HAS_KILL
+# define HAS_WAIT
/*
* This provides a layer of functions and macros to ensure extensions will
* get to use the same RTL functions as the core.
*/
-#ifndef HASATTRIBUTE
-# include <win32iop.h>
-#endif
+# ifndef HASATTRIBUTE
+# include <win32iop.h>
+# endif
#endif /* WIN32 */