X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=dosish.h;h=1d52d0c0cdd4c0c0bd17a1ca39413cdd7ae56461;hb=dcb4812c733545a68ef39b77c2dc4f7d440de203;hp=c71ecd5e223e7702874438605d6d19d88387a86f;hpb=61bb59065bf1b12edab39b124e7373fb357e2d73;p=p5sagit%2Fp5-mst-13.2.git diff --git a/dosish.h b/dosish.h index c71ecd5..1d52d0c 100644 --- a/dosish.h +++ b/dosish.h @@ -28,8 +28,8 @@ } STMT_END # define pthread_mutexattr_default NULL # define pthread_condattr_default NULL -# define pthread_attr_default NULL # define pthread_addr_t any_t +# define PTHREAD_CREATE_JOINABLE (&err) # endif #else /* DJGPP */ # ifdef WIN32 @@ -45,11 +45,6 @@ #define dXSUB_SYS #define TMPPATH "plXXXXXX" -#ifdef WIN32 -#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 @@ -123,11 +118,18 @@ #ifndef WIN32 # define Stat(fname,bufptr) stat((fname),(bufptr)) #else +# define HAS_IOCTL +# define HAS_UTIME +# define HAS_KILL +# define HAS_WAIT +# define HAS_CHOWN /* * 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 -#endif +# ifndef HASATTRIBUTE +# ifndef PERL_OBJECT +# include +# endif +# endif #endif /* WIN32 */