[sfnt] Support Intel compilers.
* src/sfnt/pngshim.c (premultiply_data): Intel compilers do not currently support `__builtin_shuffle'.
This commit is contained in:
parent
a4429959b0
commit
d924c5cf7e
|
@ -1,3 +1,10 @@
|
|||
2020-06-19 Stephen McDowell <svenevs.dev@gmail.com>
|
||||
|
||||
[sfnt] Support Intel compilers.
|
||||
|
||||
* src/sfnt/pngshim.c (premultiply_data): Intel compilers do not
|
||||
currently support `__builtin_shuffle'.
|
||||
|
||||
2020-06-19 Sebastian Rasmussen <sebras@gmail.com>
|
||||
|
||||
[base] Fix memory leak (#58611).
|
||||
|
|
|
@ -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__ ) && \
|
||||
|
|
Loading…
Reference in New Issue