31 lines
845 B
Diff
31 lines
845 B
Diff
$NetBSD$
|
|
|
|
To avoid conflict with Security.framework on OS X, prefer unsigned long long as 64-bit type.
|
|
|
|
--- a/configure 2015-08-24 22:13:55.000000000 +0000
|
|
+++ b/configure
|
|
@@ -17750,11 +17750,7 @@ _ACEOF
|
|
$as_echo_n "checking for unsigned 64-bit type... " >&6; }
|
|
UINT64_T='none'
|
|
UINT64_FORMAT='none'
|
|
-if test $ac_cv_sizeof_unsigned_long -eq 8
|
|
-then
|
|
- UINT64_T='unsigned long'
|
|
- UINT64_FORMAT='"%lu"'
|
|
-elif test $ac_cv_sizeof_unsigned_long_long -eq 8
|
|
+if test $ac_cv_sizeof_unsigned_long_long -eq 8
|
|
then
|
|
UINT64_T='unsigned long long'
|
|
case "${host_os}" in
|
|
@@ -17766,6 +17762,10 @@ then
|
|
UINT64_FORMAT='"%llu"'
|
|
;;
|
|
esac
|
|
+elif test $ac_cv_sizeof_unsigned_long -eq 8
|
|
+then
|
|
+ UINT64_T='unsigned long'
|
|
+ UINT64_FORMAT='"%lu"'
|
|
fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT64_T" >&5
|
|
$as_echo "$UINT64_T" >&6; }
|