From: Michael Jerris Date: Mon, 24 Feb 2014 20:33:35 +0000 (-0500) Subject: fix for smartos X-Git-Tag: v1.5.8~25^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e9e074a8a7bddc75945d31be33d391681a597c;p=thirdparty%2Ffreeswitch.git fix for smartos --- diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index c9a02c9c52..501dfbab31 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -275,7 +275,11 @@ typedef intptr_t switch_ssize_t; #endif +#ifdef __sun +#define SWITCH_TIME_T_FMT SWITCH_SIZE_T_FMT +#else #define SWITCH_TIME_T_FMT SWITCH_INT64_T_FMT +#endif SWITCH_END_EXTERN_C /* these includes must be outside the extern "C" block on windows or it will break compatibility with c++ modules*/