mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00: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
@ -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…
Reference in New Issue
Block a user