Avoid redefinition of depricated "unix" symbol under NetBSD 1.3/1.3.x.

This commit is contained in:
tron 1999-03-05 23:37:52 +00:00
parent 4479c78b9e
commit 6925dce294
2 changed files with 8 additions and 6 deletions

View file

@ -1,12 +1,13 @@
$NetBSD: patch-ac,v 1.1 1999/01/04 20:25:49 tron Exp $
$NetBSD: patch-ac,v 1.2 1999/03/05 23:37:52 tron Exp $
--- kfax/libtiffax/tiffiop.h.orig Sat Jul 5 16:41:59 1997
+++ kfax/libtiffax/tiffiop.h Mon Jan 4 19:36:12 1999
@@ -34,6 +34,10 @@
+++ kfax/libtiffax/tiffiop.h Fri Mar 5 23:55:34 1999
@@ -34,6 +34,11 @@
* a port.h file that reflects the system capabilities.
* Doing this obviates all the dreck done in tiffcomp.h.
*/
+#if defined(__NetBSD__)
+#undef unix
+#define unix 42
+#endif
+

View file

@ -1,12 +1,13 @@
$NetBSD: patch-ad,v 1.1 1999/01/04 20:25:49 tron Exp $
$NetBSD: patch-ad,v 1.2 1999/03/05 23:37:52 tron Exp $
--- kfax/libtiffax/mkg3states.c.orig Mon Oct 6 05:22:16 1997
+++ kfax/libtiffax/mkg3states.c Mon Jan 4 21:09:01 1999
@@ -29,6 +29,10 @@
+++ kfax/libtiffax/mkg3states.c Fri Mar 5 23:56:07 1999
@@ -29,6 +29,11 @@
* in Frank Cringle's viewfax program;
* Copyright (C) 1990, 1995 Frank D. Cringle.
*/
+#if defined(__NetBSD__)
+#undef unix
+#define unix 42
+#endif
+