fix bsd build issue
This commit is contained in:
parent
68021e862f
commit
787d81db32
|
@ -258,8 +258,12 @@ typedef intptr_t switch_ssize_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TIME_T_FMT
|
#ifndef TIME_T_FMT
|
||||||
|
#if defined(__FreeBSD__) && SIZEOF_VOIDP == 4
|
||||||
|
#define TIME_T_FMT "d"
|
||||||
|
#else
|
||||||
#define TIME_T_FMT "ld"
|
#define TIME_T_FMT "ld"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue