X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fwin32.h;h=61884ab7a78f724566f0a6cf67740454bfd812b3;hb=1307044d1712ffdf799e228d9d670bbf155291ad;hp=eb5ecd2971e7e96a00b5173955a8788f3ceb1acf;hpb=2f67576d8cb103df532c921ad5e6caa4f7927a88;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/win32.h b/win32/win32.h index eb5ecd2..61884ab 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -159,6 +159,11 @@ struct utsname { # define F_OK 0 #endif +/* for waitpid() */ +#ifndef WNOHANG +# define WNOHANG 1 +#endif + #define PERL_GET_CONTEXT_DEFINED /* Compiler-specific stuff. */ @@ -194,6 +199,8 @@ struct utsname { /* Borland C thinks that a pointer to a member variable is 12 bytes in size. */ #define PERL_MEMBER_PTR_SIZE 12 +#define isnan _isnan + #endif #ifdef _MSC_VER /* Microsoft Visual C++ */ @@ -492,9 +499,5 @@ struct interp_intern { */ #include "win32iop.h" -#ifndef WNOHANG -# define WNOHANG 1 -#endif - #endif /* _INC_WIN32_PERL5 */