freebsd-ports/net/asterisk14/files/patch-main::utils.c
Maxim Sobolev acc33b14df Long awaited upgrade to 1.4.2.
Sponsored by:   Sippy Software, Inc.
2007-04-13 08:06:06 +00:00

14 lines
451 B
C

$FreeBSD$
--- main/utils.c
+++ main/utils.c
@@ -58,7 +58,7 @@
static char base64[64];
static char b2a[256];
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
+#if (defined(__FreeBSD__) && __FreeBSD_version < 601103) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
/* duh? ERANGE value copied from web... */
#define ERANGE 34