use __BSD4_2 and __USG

This commit is contained in:
ceriel 1987-03-10 14:49:29 +00:00
parent 2e4cf6fe8c
commit 517baed1b1

View file

@ -13,15 +13,15 @@ struct stat {
dev_t st_rdev; dev_t st_rdev;
off_t st_size; off_t st_size;
time_t st_atime; time_t st_atime;
#ifdef BSD4_2 #ifdef __BSD4_2
long st_spare1; long st_spare1;
#endif #endif
time_t st_mtime; time_t st_mtime;
#ifdef BSD4_2 #ifdef __BSD4_2
long st_spare2; long st_spare2;
#endif #endif
time_t st_ctime; time_t st_ctime;
#ifdef BSD4_2 #ifdef __BSD4_2
long st_spare3; long st_spare3;
long st_blksize; long st_blksize;
long st_blocks; long st_blocks;
@ -34,8 +34,8 @@ struct stat {
#define S_IFCHR 0020000 #define S_IFCHR 0020000
#define S_IFBLK 0060000 #define S_IFBLK 0060000
#define S_IFREG 0100000 #define S_IFREG 0100000
#ifndef BSD4_2 #ifndef __BSD4_2
#ifndef USG #ifndef __USG
#define S_IFMPC 0030000 #define S_IFMPC 0030000
#define S_IFMPB 0070000 #define S_IFMPB 0070000
#else #else