diff options
Diffstat (limited to 'src/sfnt/pngshim.c')
-rw-r--r-- | src/sfnt/pngshim.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c index 7388837b3..2e64e5846 100644 --- a/src/sfnt/pngshim.c +++ b/src/sfnt/pngshim.c @@ -60,7 +60,12 @@ /* predates clang; the `__BYTE_ORDER__' preprocessor symbol was */ /* introduced in gcc 4.6 and clang 3.2, respectively. */ /* `__builtin_shuffle' for gcc was introduced in gcc 4.7.0. */ -#if ( ( defined( __GNUC__ ) && \ + /* */ + /* Intel compilers do not currently support __builtin_shuffle; */ + + /* The Intel check must be first. */ +#if !defined( __INTEL_COMPILER ) && \ + ( ( defined( __GNUC__ ) && \ ( ( __GNUC__ >= 5 ) || \ ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 7 ) ) ) ) || \ ( defined( __clang__ ) && \ |