This previous change fixes the issue on 64bit but if trying to compile a 32bit build you end up breaking the types on 32bit.

Commandline Fu for dumping the various defines for gcc are as follows:

gcc -m64 -dM -E - <<<''

gcc -m32 -dM -E - <<<''
This commit is contained in:
Brian West 2014-03-01 10:20:48 -06:00
parent dd8c323fcf
commit 02dd7772ba

View File

@ -275,7 +275,7 @@ typedef intptr_t switch_ssize_t;
#endif
#ifdef __sun
#if defined(__sun__) && defined(__x86_64)
#define SWITCH_TIME_T_FMT SWITCH_SIZE_T_FMT
#else
#define SWITCH_TIME_T_FMT SWITCH_INT64_T_FMT