fix for smartos

This commit is contained in:
Michael Jerris 2014-02-24 15:33:35 -05:00
parent e9a0a0edc9
commit 01e9e074a8
1 changed files with 4 additions and 0 deletions

View 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*/