diff --git a/config.lzma-linux.h b/config.lzma-linux.h index f13b96ce7..e8b00d8af 100644 --- a/config.lzma-linux.h +++ b/config.lzma-linux.h @@ -168,7 +168,11 @@ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ -#define HAVE_IMMINTRIN_H 1 +#if defined __has_include + #if __has_include () + #define HAVE_IMMINTRIN_H 1 + #endif +#endif /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1