Ensure compatibility with nip2 (#2704)

nip2 uses the `VIPS_EXEEXT` definition.
This commit is contained in:
Kleis Auke Wolthuizen 2022-03-03 19:51:33 +01:00 committed by GitHub
parent ac35124f59
commit a0f9cd95e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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