tOS X fix - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 430976597fd86013e1e8b74e4cd78e7259b31272
 (DIR) parent d912fcd8b713ec9ceddf1ccfa2ac4e4755872555
 (HTM) Author: rsc <devnull@localhost>
       Date:   Sun, 27 Nov 2005 15:56:23 +0000
       
       OS X fix
       
       Diffstat:
         M src/cmd/9term/dat.h                 |       3 +++
         M src/cmd/vbackup/mount-BSD.c         |       2 +-
       
       2 files changed, 4 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/9term/dat.h b/src/cmd/9term/dat.h
       t@@ -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;
 (DIR) diff --git a/src/cmd/vbackup/mount-BSD.c b/src/cmd/vbackup/mount-BSD.c
       t@@ -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;