fix bsd build issue

This commit is contained in:
Anthony Minessale 2012-05-10 10:57:29 -05:00
parent 68021e862f
commit 787d81db32

View 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