1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- patch needed for 704101

PR:		157217
Reported by:	Fedor Dikarev
This commit is contained in:
Dirk Meyer 2011-06-14 17:21:23 +00:00
parent 12c0940c62
commit 8cfde5dd7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275571

View File

@ -5,7 +5,7 @@
#endif
+#include <sys/param.h>
+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
+#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
+#define log2(x) (log(x)/log(2))
+#endif
+