freebsd-ports/textproc/nfbtrans/files/patch-ab
Masafumi Max NAKANE ffe8118d73 Upgrade to 7.58.
PR:		23893
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2001-06-07 00:58:36 +00:00

21 lines
536 B
Text

--- nfbtrans.c.orig Sat Sep 23 20:45:38 2000
+++ nfbtrans.c Thu Nov 30 04:15:53 2000
@@ -2,7 +2,9 @@
#define LINT_ARGS
#define DOS
#else
+#ifndef UNIX_PATH
#define UNIX_PATH "/usr/local/lib/"
+#endif
#endif /* unix */
#ifndef lint
#endif /* lint */
@@ -24,7 +26,7 @@
#include <fcntl.h>
#include <stdarg.h>
#define MAXARGS 7
-#if defined(sunos) || defined(linux)
+#if defined(sunos) || defined(linux) || defined(freebsd)
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif