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/0d2996b1485d
branches:  trunk
changeset: 320688:0d2996b1485d
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 33eef0ba521c -r 0d2996b1485d 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