Merge pull request #628 from micmac1/21.02-ast-backports
[feed/telephony.git] / net / freeswitch / patches / 420-time.patch
1 --- a/src/include/switch_platform.h
2 +++ b/src/include/switch_platform.h
3 @@ -270,9 +270,13 @@ typedef intptr_t switch_ssize_t;
4 #if defined(__FreeBSD__) && SIZEOF_VOIDP == 4
5 #define TIME_T_FMT "d"
6 #else
7 +#if __USE_TIME_BITS64
8 +#define TIME_T_FMT SWITCH_INT64_T_FMT
9 +#else
10 #define TIME_T_FMT "ld"
11 #endif
12 #endif
13 +#endif
14
15
16 #if UINTPTR_MAX == 0xffffffffffffffff