changed Makefile

This commit is contained in:
eck
1989-12-19 11:20:16 +00:00
parent caf06d3a7b
commit f4e1d47704
17 changed files with 8 additions and 34 deletions

View File

@@ -1,5 +1,3 @@
CFLAGS=-L -LIB -DNFS
.SUFFIXES: .o .e .c
.e.o:

View File

@@ -62,14 +62,14 @@ struct direct {
#include <sys/stat.h>
#ifdef UNK
#ifndef UFS
#error UNK applies only to UFS
#error UNK applies only to UFS
/* One could do something similar for getdirentries(), but I didn't bother. */
#endif
#include <signal.h>
#endif
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
#error exactly one of UFS, BFS, or NFS must be defined
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
#error exactly one of UFS, BFS, or NFS must be defined
#endif
#ifdef UFS

View File

@@ -13,7 +13,7 @@
int open(const char *path, int flags);
#if defined(__BSD4_2)
#if defined(__BSD4_2)
typedef int off_t; /* see lseek(2) */
#else
typedef long off_t;