Revision
14333
Author
mikej
Date
2009-07-23 15:22:31 -0500 (Thu, 23 Jul 2009)

Log Message

build: fix compile on Mac OS X Snow Leopard 10.6 (FSBUILD-178)

Modified Paths

Diff

Modified: freeswitch/trunk/configure.in (14332 => 14333)


--- freeswitch/trunk/configure.in	2009-07-23 17:48:36 UTC (rev 14332)
+++ freeswitch/trunk/configure.in	2009-07-23 20:22:31 UTC (rev 14333)
@@ -488,7 +488,7 @@
     int64_value="long"
     long_value=long
     case "$host" in
-        *-solaris2*)
+        *-solaris2*|*apple-darwin*)
 	    if test "$ac_cv_sizeof_long_long" = "8"; then
 	        int64_t_fmt='#define SWITCH_INT64_T_FMT "lld"'
 		uint64_t_fmt='#define SWITCH_UINT64_T_FMT "llu"'

Modified: freeswitch/trunk/src/switch_apr.c (14332 => 14333)


--- freeswitch/trunk/src/switch_apr.c	2009-07-23 17:48:36 UTC (rev 14332)
+++ freeswitch/trunk/src/switch_apr.c	2009-07-23 20:22:31 UTC (rev 14333)
@@ -318,12 +318,12 @@
 
 SWITCH_DECLARE(switch_status_t) switch_time_exp_gmt_get(switch_time_t *result, switch_time_exp_t *input)
 {
-	return apr_time_exp_gmt_get(result, (apr_time_exp_t *) input);
+	return apr_time_exp_gmt_get((apr_time_t *)result, (apr_time_exp_t *) input);
 }
 
 SWITCH_DECLARE(switch_status_t) switch_time_exp_get(switch_time_t *result, switch_time_exp_t *input)
 {
-	return apr_time_exp_get(result, (apr_time_exp_t *) input);
+	return apr_time_exp_get((apr_time_t *)result, (apr_time_exp_t *) input);
 }
 
 SWITCH_DECLARE(switch_status_t) switch_time_exp_lt(switch_time_exp_t *result, switch_time_t input)