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 limit the aarch64 hack to c...



details:   https://anonhg.NetBSD.org/src/rev/b91db8a5d10c
branches:  trunk
changeset: 324700:b91db8a5d10c
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 16 00:47:54 2018 +0000

description:
limit the aarch64 hack to clang.

diffstat:

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

diffs (12 lines):

diff -r 9e6ae178d7a0 -r b91db8a5d10c crypto/external/bsd/openssl/dist/e_os.h
--- a/crypto/external/bsd/openssl/dist/e_os.h   Mon Jul 16 00:33:00 2018 +0000
+++ b/crypto/external/bsd/openssl/dist/e_os.h   Mon Jul 16 00:47:54 2018 +0000
@@ -32,7 +32,7 @@
 /*
  * BIO_printf format modifier for [u]int64_t.
  */
-# if !defined(__aarch64__) && (defined(__LP64__) || \
+# if !(defined(__aarch64__) && defined(__clang__)) && (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... */



Home | Main Index | Thread Index | Old Index