summaryrefslogtreecommitdiff
path: root/archivers/zoo
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
commit02d1b3a10b1c645029b337fa9496d3269418f043 (patch)
treec9e4eac855dd695777ffe968c66e32c2d8130d68 /archivers/zoo
parentfdd should have been fpp (diff)
A quick purousal thru our port's patches directory shows a *WAY* over use of
__FreeBSD__. That said, add __OpenBSD__ and __NetBSD__ where approapiate.
Notes
Notes: svn path=/head/; revision=5656
Diffstat (limited to 'archivers/zoo')
-rw-r--r--archivers/zoo/files/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/zoo/files/patch-aa b/archivers/zoo/files/patch-aa
index c11c21587df6..a86541950df0 100644
--- a/archivers/zoo/files/patch-aa
+++ b/archivers/zoo/files/patch-aa
@@ -17,7 +17,7 @@
! long gettz(t)
! long t;
{
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ return -localtime(&t)->tm_gmtoff;
+ #else
#define SEC_IN_DAY (24L * 60L * 60L)
@@ -54,7 +54,7 @@
/* Standard UNIX-specific file attribute routines */
#include "nixmode.i"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <unistd.h>
+ #else
#ifndef SEEK_CUR
@@ -222,7 +222,7 @@
/* uchar should be 8 bits or more */
/* typedef unsigned char uchar; -- already in zoo.h */
-+ #ifndef __FreeBSD__
++ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
typedef unsigned int uint; /* 16 bits or more */
#if !defined(__386BSD__) || !defined(_TYPES_H_)
typedef unsigned short ushort; /* 16 bits or more */