opnsense-ports/comms/gmfsk/files/patch-src_misc_misc.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
414 B
C

--- src/misc/misc.c.orig 2004-04-13 05:49:04.000000000 -0700
+++ src/misc/misc.c 2014-06-21 02:32:50.000000000 -0700
@@ -101,7 +101,7 @@
}
/* ---------------------------------------------------------------------- */
-
+#ifndef FBSD_HAS_LOG2
/*
* Integer base-2 logarithm
*/
@@ -118,7 +118,7 @@
return y;
}
-
+#endif
/* ---------------------------------------------------------------------- */
/*