aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-27 15:56:23 +0000
committerrsc <devnull@localhost>2005-11-27 15:56:23 +0000
commit430976597fd86013e1e8b74e4cd78e7259b31272 (patch)
treeac3eb0b14defd800b9ea5130d12b3af6d4b67938 /src/cmd
parentd912fcd8b713ec9ceddf1ccfa2ac4e4755872555 (diff)
downloadplan9port-430976597fd86013e1e8b74e4cd78e7259b31272.tar.gz
plan9port-430976597fd86013e1e8b74e4cd78e7259b31272.tar.bz2
plan9port-430976597fd86013e1e8b74e4cd78e7259b31272.zip
OS X fix
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/9term/dat.h3
-rw-r--r--src/cmd/vbackup/mount-BSD.c2
2 files changed, 4 insertions, 1 deletions
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;