Commit c3876354e5c0812ae5929f7e68849c2e611b720c

Jouk Jansen 2023-05-09T07:15:53

* src/smooth/ftgrays.c (FT_SSE2): Don't define for VMS.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 1e2f7ad..6252df9 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1006,9 +1006,9 @@ typedef ptrdiff_t  FT_PtrDist;
    *
    * For other cases, using binary splits is actually slightly faster.
    */
-#if defined( __SSE2__ )                          || \
-    defined( __x86_64__ )                        || \
-    defined( _M_AMD64 )                          || \
+#if defined( __SSE2__ )                            || \
+    ( defined( __x86_64__ ) && !defined( __VMS ) ) || \
+    defined( _M_AMD64 )                            || \
     ( defined( _M_IX86_FP ) && _M_IX86_FP >= 2 )
 #  define FT_SSE2 1
 #else