* src/smooth/ftgrays.c (FT_SSE2): Fix definition for VMS.

This commit is contained in:
Jouk Jansen 2023-07-21 21:31:28 +02:00 committed by Werner Lemberg
parent 5769f13a6b
commit 7c542d02bf
1 changed files with 5 additions and 4 deletions

View File

@ -1006,10 +1006,11 @@ typedef ptrdiff_t FT_PtrDist;
* *
* For other cases, using binary splits is actually slightly faster. * For other cases, using binary splits is actually slightly faster.
*/ */
#if defined( __SSE2__ ) || \ #if ( defined( __SSE2__ ) || \
( defined( __x86_64__ ) && !defined( __VMS ) ) || \ defined( __x86_64__ ) || \
defined( _M_AMD64 ) || \ defined( _M_AMD64 ) || \
( defined( _M_IX86_FP ) && _M_IX86_FP >= 2 ) ( defined( _M_IX86_FP ) && _M_IX86_FP >= 2 ) ) && \
!defined( __VMS )
# define FT_SSE2 1 # define FT_SSE2 1
#else #else
# define FT_SSE2 0 # define FT_SSE2 0