Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist HACK around aarch64 having ...



details:   https://anonhg.NetBSD.org/src/rev/bb7cadc7a724
branches:  trunk
changeset: 321243:bb7cadc7a724
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 07 16:06:57 2018 +0000

description:
HACK around aarch64 having "long long" "__int64_t"

diffstat:

 crypto/external/bsd/openssl/dist/e_os.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 93fa8df54364 -r bb7cadc7a724 crypto/external/bsd/openssl/dist/e_os.h
--- a/crypto/external/bsd/openssl/dist/e_os.h   Wed Mar 07 16:06:29 2018 +0000
+++ b/crypto/external/bsd/openssl/dist/e_os.h   Wed Mar 07 16:06:57 2018 +0000
@@ -32,7 +32,8 @@
 /*
  * BIO_printf format modifier for [u]int64_t.
  */
-# if defined(__LP64__) || (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__==8)
+# if !defined(__aarch64__) && (defined(__LP64__) || \
+     (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 8))
 #  define BIO_PRI64 "l"     /* 'll' does work "universally", but 'l' is
                              * here to shut -Wformat warnings in LP64... */
 # else



Home | Main Index | Thread Index | Old Index