Source-Changes-HG archive

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

[src/trunk]: src/external/public-domain/xz/include Only include <immintrin.h>...



details:   https://anonhg.NetBSD.org/src/rev/bec154f7d1fc
branches:  trunk
changeset: 337518:bec154f7d1fc
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Apr 17 21:56:14 2015 +0000

description:
Only include <immintrin.h> on x86 (32 or 64 bit).

diffstat:

 external/public-domain/xz/include/config.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c402c6844e8c -r bec154f7d1fc external/public-domain/xz/include/config.h
--- a/external/public-domain/xz/include/config.h        Fri Apr 17 20:14:27 2015 +0000
+++ b/external/public-domain/xz/include/config.h        Fri Apr 17 21:56:14 2015 +0000
@@ -146,7 +146,9 @@
 #define HAVE_ICONV 1
 
 /* Define to 1 if you have the <immintrin.h> header file. */
+#if defined(__i386__) || defined(__x86_64__)
 #define HAVE_IMMINTRIN_H 1
+#endif
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1



Home | Main Index | Thread Index | Old Index