]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix bsd build issue
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 15:57:29 +0000 (10:57 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 15:57:29 +0000 (10:57 -0500)
src/include/switch_platform.h

index 3d1efe425d4fc70b40b3661fbf25507cee31d9fa..a01185074896fb8a5c9b677ed4204dd9f7a42594 100644 (file)
@@ -258,8 +258,12 @@ typedef intptr_t switch_ssize_t;
 #endif
 
 #ifndef TIME_T_FMT
+#if defined(__FreeBSD__) && SIZEOF_VOIDP == 4
+#define TIME_T_FMT "d"
+#else
 #define TIME_T_FMT "ld"
 #endif
+#endif
 
 #endif