X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=mpeix%2Fmpeixish.h;h=49ef4355fec564f247c3a80de61a579e093c177f;hb=57c348a981665d6305f7f38920ab85e57a77ae65;hp=e0375055eb7a7410569018eae7b6478e656882a3;hpb=feb334998467cf1c2ce6355cb4372da98b963090;p=p5sagit%2Fp5-mst-13.2.git diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h index e037505..49ef435 100644 --- a/mpeix/mpeixish.h +++ b/mpeix/mpeixish.h @@ -9,25 +9,25 @@ * This symbol, if defined, indicates that the ioctl() routine is * available to set I/O characteristics */ -#define HAS_IOCTL / **/ +#define HAS_IOCTL /**/ /* HAS_UTIME: * This symbol, if defined, indicates that the routine utime() is * available to update the access and modification times of files. */ -#define HAS_UTIME / **/ +#define HAS_UTIME /**/ /* HAS_GROUP * This symbol, if defined, indicates that the getgrnam() and * getgrgid() routines are available to get group entries. */ -#define HAS_GROUP / **/ +#define HAS_GROUP /**/ /* HAS_PASSWD * This symbol, if defined, indicates that the getpwnam() and * getpwuid() routines are available to get password entries. */ -#define HAS_PASSWD / **/ +#define HAS_PASSWD /**/ #define HAS_KILL #define HAS_WAIT @@ -52,7 +52,7 @@ * This symbol is defined if this system has a stat structure declaring * st_rdev */ -#define USE_STAT_RDEV / **/ +#define USE_STAT_RDEV /**/ /* ACME_MESS: * This symbol, if defined, indicates that error messages should be @@ -87,9 +87,7 @@ */ /* #define ALTERNATE_SHEBANG "#!" / **/ -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) -# include -#endif +#include #ifndef SIGABRT # define SIGABRT SIGILL @@ -113,7 +111,7 @@ #define Mkdir(path,mode) mkdir((path),(mode)) #ifndef PERL_SYS_INIT -# define PERL_SYS_INIT(c,v) PERL_FPU_INIT MALLOC_INIT +# define PERL_SYS_INIT(c,v) PERL_FPU_INIT MALLOC_INIT #endif #ifndef PERL_SYS_TERM @@ -153,3 +151,5 @@ extern void srand48(long int seedval); extern int ftruncate(int fd, long wantsize); extern int gettimeofday( struct timeval *tp, struct timezone *tpz ); extern int truncate(const char *pathname, off_t length); + +#define fcntl mpe_fcntl