X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/14de8063d82edc5bf003ed50abdea55ac542679b..ad1a76fefdc79201fe2efaf0ef356acbb7938d46:/src/OS/unsupported/os.h-mips diff --git a/src/OS/unsupported/os.h-mips b/src/OS/unsupported/os.h-mips new file mode 100644 index 000000000..325e3a134 --- /dev/null +++ b/src/OS/unsupported/os.h-mips @@ -0,0 +1,27 @@ +/* Exim: OS-specific C header file for RiscOS4bsd */ + +#define LOAD_AVG_NEEDS_ROOT +#define HAVE_DEV_KMEM +#define LOAD_AVG_TYPE long +#define LOAD_AVG_SYMBOL "_avenrun" +#define KERNEL_PATH "/unix" + +#define HAVE_MMAP +#define HAVE_SYS_VFS_H + +#define F_FREESP O_TRUNC +#define EXIT_FAILURE 1 +#define EXIT_SUCCESS 0 +typedef struct flock flock_t; + +#define STRERROR_FROM_ERRLIST +#define memmove(a, b, c) bcopy(b, a, c) + +extern char *strerror(int); +extern int sys_nerr; +extern char *sys_errlist[]; + +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + +/* End */