1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/cad/cider/files/patch-ap
Steve Price d38479ecaa * Do not set NO_WRKSUBDIR to yes. Specify WRKSRC.
* Respect CFLAGS.
* Make less use of __FreeBSD__.
* Use more system-defined make variables.

PR:		15746
Submitted by:	maintainer
1999-12-29 21:32:14 +00:00

14 lines
551 B
Plaintext

--- spice/common/src/lib/sparse/spdefs.h.orig Sat Jan 29 19:08:43 1994
+++ spice/common/src/lib/sparse/spdefs.h Mon Dec 27 14:41:07 1999
@@ -132,8 +132,10 @@
/* Macro commands */
/* Macro functions that return the maximum or minimum independent of type. */
+#if !(defined(BSD) && (BSD >= 199306))
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#endif
/* Macro function that returns the absolute value of a floating point number. */
#define ABS(a) ((a) < 0 ? -(a) : (a))