X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=dosish.h;h=0b0a35e073f051250945810888e799824a313ed8;hb=1cc8b4c566f7901a54e4b576f09608beb4c81f86;hp=08b48fa0fe803730c9973db087f118469b44ffa3;hpb=16fe6d5906f6eff9da00cb861a7054a440d1f6eb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/dosish.h b/dosish.h index 08b48fa..0b0a35e 100644 --- a/dosish.h +++ b/dosish.h @@ -16,7 +16,7 @@ # if (DJGPP==2 && DJGPP_MINOR < 2) # define NO_LOCALECONV_MON_THOUSANDS_SEP # endif -# ifdef USE_THREADS +# ifdef USE_5005THREADS # define OLD_PTHREADS_API # endif # define PERL_FS_VER_FMT "%d_%d_%d" @@ -25,8 +25,13 @@ # 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 NETWARE +# define PERL_SYS_INIT(c,v) Perl_nw5_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?" */ +# endif /* NETWARE */ # endif #endif /* DJGPP */ @@ -100,7 +105,11 @@ #define fwrite1 fwrite #define Fstat(fd,bufptr) fstat((fd),(bufptr)) -#define Fflush(fp) fflush(fp) +#ifdef DJGPP +# define Fflush(fp) djgpp_fflush(fp) +#else +# define Fflush(fp) fflush(fp) +#endif #define Mkdir(path,mode) mkdir((path),(mode)) #ifndef WIN32