From 430976597fd86013e1e8b74e4cd78e7259b31272 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 27 Nov 2005 15:56:23 +0000 Subject: OS X fix --- src/cmd/9term/dat.h | 3 +++ src/cmd/vbackup/mount-BSD.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cmd') diff --git a/src/cmd/9term/dat.h b/src/cmd/9term/dat.h index cf7aa9f9..982eea18 100644 --- a/src/cmd/9term/dat.h +++ b/src/cmd/9term/dat.h @@ -2,6 +2,9 @@ #undef Borderwidth #define Borderwidth 0 +#undef TRUE /* OS X */ +#undef FALSE + typedef struct Consreadmesg Consreadmesg; typedef struct Conswritemesg Conswritemesg; typedef struct Stringpair Stringpair; diff --git a/src/cmd/vbackup/mount-BSD.c b/src/cmd/vbackup/mount-BSD.c index a443c392..74cbfabe 100644 --- a/src/cmd/vbackup/mount-BSD.c +++ b/src/cmd/vbackup/mount-BSD.c @@ -48,7 +48,7 @@ mountnfs(int proto, struct sockaddr_in *sa, na.retrans = NFS_RETRANS; na.maxgrouplist = NFS_MAXGRPS; na.hostname = "backup"; -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__APPLE__) na.acregmin = 60; na.acregmax = 600; na.acdirmin = 60; -- cgit v1.2.3