From a0f9cd95e063df96b3320660af0085d70d197ace Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 3 Mar 2022 19:51:33 +0100 Subject: [PATCH] Ensure compatibility with nip2 (#2704) nip2 uses the `VIPS_EXEEXT` definition. --- libvips/include/vips/vips7compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libvips/include/vips/vips7compat.h b/libvips/include/vips/vips7compat.h index ac0c06d5..144c4d43 100644 --- a/libvips/include/vips/vips7compat.h +++ b/libvips/include/vips/vips7compat.h @@ -581,10 +581,11 @@ size_t im_ref_string_get_length( const GValue *value ); #define IM_MICRO_VERSION VIPS_MICRO_VERSION #if defined(G_PLATFORM_WIN32) || defined(G_WITH_CYGWIN) -#define IM_EXEEXT ".exe" +#define VIPS_EXEEXT ".exe" #else /* !defined(G_PLATFORM_WIN32) && !defined(G_WITH_CYGWIN) */ -#define IM_EXEEXT "" +#define VIPS_EXEEXT "" #endif /* defined(G_PLATFORM_WIN32) || defined(G_WITH_CYGWIN) */ +#define IM_EXEEXT VIPS_EXEEXT #define IM_SIZEOF_HEADER VIPS_SIZEOF_HEADER