mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Adjust recent patch to include un-MFC'd stable branches.
PR: 155183 Reported by: Guido Falsi <mad@madpilot.net> Warren Block <wblock@wonkity.com>
This commit is contained in:
parent
b847c2d6e5
commit
744ee94d7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270121
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
#include <cmath>
|
||||
|
||||
+#include <sys/param.h>
|
||||
+#if __FreeBSD_version < 704000 || (__FreeBSD_version > 800000 && __FreeBSD_version < 802000) || (__FreeBSD_version > 900000 && __FreeBSD_version < 900027)
|
||||
+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version <= 802501) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
|
||||
+#define log2f(x) (logf(x) / logf(2))
|
||||
+#endif
|
||||
+
|
||||
|
|
Loading…
Add table
Reference in a new issue