FS-9185: fix format ifdefs for Solaris SPARC
Fix SWITCH_INT64_T_FMT and SWITCH_TIME_T_FMT definitions for Solaris/SPARC FS-9185 #resolve
This commit is contained in:
parent
46f4fda018
commit
585cccd940
|
@ -1122,6 +1122,8 @@ elif test "$ac_cv_sizeof_long" = "8"; then
|
|||
case "$host" in
|
||||
*pc-solaris2*)
|
||||
;;
|
||||
sparc-*-solaris2*)
|
||||
;;
|
||||
*-solaris2*|*apple-darwin*|*-openbsd*)
|
||||
if test "$ac_cv_sizeof_long_long" = "8"; then
|
||||
int64_t_fmt='#define SWITCH_INT64_T_FMT "lld"'
|
||||
|
|
|
@ -279,7 +279,7 @@ typedef intptr_t switch_ssize_t;
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(__sun__) && defined(__x86_64)
|
||||
#if defined(__sun__) && (defined(__x86_64) || defined(__arch64__))
|
||||
#define SWITCH_TIME_T_FMT SWITCH_SIZE_T_FMT
|
||||
#else
|
||||
#define SWITCH_TIME_T_FMT SWITCH_INT64_T_FMT
|
||||
|
|
Loading…
Reference in New Issue