mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
14 lines
458 B
C
14 lines
458 B
C
--- lib/ortho/trapezoid.c.orig 2011-05-20 18:55:22.000000000 +0200
|
|
+++ lib/ortho/trapezoid.c 2011-05-20 18:57:31.000000000 +0200
|
|
@@ -30,6 +30,11 @@
|
|
#define log2(x) (log(x)/log(2))
|
|
#endif
|
|
|
|
+#include <sys/param.h>
|
|
+#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
|
|
+#define log2(x) (log(x)/log(2))
|
|
+#endif
|
|
+
|
|
/* Node types */
|
|
|
|
#define T_X 1
|