]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for smartos
authorMichael Jerris <mike@jerris.com>
Mon, 24 Feb 2014 20:33:35 +0000 (15:33 -0500)
committerMichael Jerris <mike@jerris.com>
Mon, 24 Feb 2014 20:33:35 +0000 (15:33 -0500)
src/include/switch_platform.h

index c9a02c9c52d5402225cdcedf4ee78c7f95e45cb5..501dfbab31ff245467061428f1d4cd936d12e9af 100644 (file)
@@ -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*/