X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=mpeix%2Fmpeixish.h;h=dc8cb1939a8dd201cea5a4a5ad1b5418ae2d9cc7;hb=e9ad1727960211698dc6e5554115c0dbf4254536;hp=23111718ffe40aee14984e3a620420dff056cc67;hpb=1d84e8dfc14d5303f4e9e567bd263f6b4d88e584;p=p5sagit%2Fp5-mst-13.2.git diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h index 2311171..dc8cb19 100644 --- a/mpeix/mpeixish.h +++ b/mpeix/mpeixish.h @@ -34,7 +34,7 @@ /* USEMYBINMODE * This symbol, if defined, indicates that the program should - * use the routine my_binmode(FILE *fp, char iotype) to insure + * use the routine my_binmode(FILE *fp, char iotype, int mode) to insure * that a file is in "binary" mode -- that is, that no translation * of bytes occurs on read or write operations. */ @@ -97,7 +97,7 @@ #ifndef SIGILL # define SIGILL 6 /* blech */ #endif -#define ABORT() kill(getpid(),SIGABRT); +#define ABORT() kill(PerlProc_getpid(),SIGABRT); /* * fwrite1() should be a routine with the same calling sequence as fwrite(), @@ -113,12 +113,7 @@ #define Mkdir(path,mode) mkdir((path),(mode)) #ifndef PERL_SYS_INIT -#ifdef PERL_SCO5 -/* this should be set in a hint file, not here */ -# define PERL_SYS_INIT(c,v) fpsetmask(0); MALLOC_INIT -#else -# define PERL_SYS_INIT(c,v) MALLOC_INIT -#endif +# define PERL_SYS_INIT(c,v) PERL_FPU_INIT MALLOC_INIT #endif #ifndef PERL_SYS_TERM @@ -137,3 +132,11 @@ #undef PRPASSWD #undef PWAGE #undef PWCOMMENT + +/* various missing external function declarations */ + +#include +extern key_t ftok (char *pathname, char id); +extern char *gcvt (double value, int ndigit, char *buf); +extern int isnan (double value); +extern void srand48(long int seedval);