nih-at/libzip

[1.11] LIBZIP_VERSION_MICRO empty breaks build

Closed this issue · 0 comments

Can you please publish release as 1.11.0 so LIBZIP_VERSION_MICRO is not empty

Having an empty macro breaks builds, ex PHP

See https://github.com/php/php-src/blob/master/ext/zip/php_zip.h#L96

/work/GIT/pecl-and-ext/zip/php81/php_zip.h:96:135: error: operator '+' has no right operand
   96 | #define LIBZIP_ATLEAST(m,n,p) ((m<<16) + (n<<8) + p) <= ((LIBZIP_VERSION_MAJOR<<16) + (LIBZIP_VERSION_MINOR<<8) + LIBZIP_VERSION_MICRO))
      |                                                                                                                                       ^