diff --git a/libvips/include/vips/vips7compat.h b/libvips/include/vips/vips7compat.h index 9a31a1723..4bc21a92f 100644 --- a/libvips/include/vips/vips7compat.h +++ b/libvips/include/vips/vips7compat.h @@ -36,20 +36,9 @@ #include -/* The old deprecated VipsVector/VipsExecutor API required orc. - * Avoid a possible ABI/API break with the adoption of highway. - */ #ifdef HAVE_ORC #include -#else -typedef struct _OrcProgram { - /* Opaque */ -} OrcProgram; - -typedef struct _OrcExecutor { - char data[808]; -} OrcExecutor; -#endif +#endif /* HAVE_ORC */ #ifdef __cplusplus extern "C" { @@ -1694,13 +1683,17 @@ typedef struct { int d1; +#ifdef HAVE_ORC OrcProgram *program; +#endif /*HAVE_ORC*/ gboolean compiled; } VipsVector; typedef struct { +#ifdef HAVE_ORC OrcExecutor executor; +#endif /*HAVE_ORC*/ VipsVector *vector; } VipsExecutor;