diff options
author | obrien <obrien@FreeBSD.org> | 1997-02-16 21:11:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-02-16 21:11:14 +0000 |
commit | ba3f8bf8edb336fa75128f231355c5d7be97171c (patch) | |
tree | 720589c55dc548a72874db3a19faa7b5d541f89e /archivers/zoo/files | |
parent | 6568109b3978da9048e0895fb9361e3c9a72aa22 (diff) | |
download | FreeBSD-ports-ba3f8bf8edb336fa75128f231355c5d7be97171c.zip FreeBSD-ports-ba3f8bf8edb336fa75128f231355c5d7be97171c.tar.gz |
A quick purousal thru our port's patches directory shows a *WAY* over use of
__FreeBSD__.
That said, add __OpenBSD__ and __NetBSD__ where approapiate.
Diffstat (limited to 'archivers/zoo/files')
-rw-r--r-- | archivers/zoo/files/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/zoo/files/patch-aa b/archivers/zoo/files/patch-aa index c11c215..a865419 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 */ |