This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate Alpha warnings
[perl5.git] / unixish.h
index e8ff11a..4968a38 100644 (file)
--- a/unixish.h
+++ b/unixish.h
 #endif
 #define ABORT() kill(getpid(),SIGABRT);
 
-#define BIT_BUCKET "/dev/null"
-#define PERL_SYS_INIT(c,v)
-#define PERL_SYS_TERM()
-#define dXSUB_SYS int dummy
-
 /*
  * fwrite1() should be a routine with the same calling sequence as fwrite(),
  * but which outputs all of the bytes requested as a single stream (unlike
 #define Stat(fname,bufptr) stat((fname),(bufptr))
 #define Fstat(fd,bufptr)   fstat((fd),(bufptr))
 #define Fflush(fp)         fflush(fp)
+#define Mkdir(path,mode)   mkdir((path),(mode))
 
-#define my_getenv(var) getenv(var)
+#ifdef PERL_SCO5
+#  define PERL_SYS_INIT(c,v)   fpsetmask(0)
+#else
+#  define PERL_SYS_INIT(c,v)
+#endif
+#define PERL_SYS_TERM()
+
+#define BIT_BUCKET "/dev/null"
 
+#define dXSUB_SYS