* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.

* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
This commit is contained in:
John Gilmore 1991-10-11 10:41:22 +00:00
parent 239326c84f
commit 06d0bdef53
4 changed files with 13 additions and 13 deletions

View File

@ -1,11 +1,10 @@
/* Not sure why this is needed -- Fred Fish put it in */
#define USG
/* Amiga Unix host system */
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <utime.h>
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
@ -16,6 +15,8 @@
#define SEEK_SET 0
#define SEEK_CUR 1
#define POSIX_UTIME
extern PROTO(int, abort,(void));
extern PROTO(int, close,(int));
extern PROTO(void, exit,(int));

View File

@ -12,11 +12,8 @@
#define SEEK_SET 0
#define SEEK_CUR 1
/*
* Some things that need to be defined in order to make code written for
* BSD Unix compile under System V ("USG") Unix. This file should be
* conditionally included in the source.
*/
/* Some things that need to be defined in order to make code written for
BSD Unix compile under System V Unix. */
#include <memory.h>
#define bcmp(b1,b2,len) memcmp(b1,b2,len)

View File

@ -3,6 +3,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/utime.h>
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
@ -12,11 +13,10 @@
#define SEEK_SET 0
#define SEEK_CUR 1
/*
* Some things that need to be defined in order to make code written for
* BSD Unix compile under System V ("USG") Unix. This file should be
* conditionally included in the source.
*/
#define POSIX_UTIME
/* Some things that need to be defined in order to make code written for
BSD Unix compile under System V Unix. */
#include <memory.h>
#define bcmp(b1,b2,len) memcmp(b1,b2,len)

View File

@ -6,6 +6,8 @@
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
#include <stdlib.h> /* for malloc() */
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif