Replace ZLIBNG_VERNUM with a larger one with space for more accurate information.
Replace ZLIBNG_VER_SUBREVISION with ZLIBNG_VER_MODIFIED and ZLIBNG_VER_STATUS.
LDSHARED=$(CC)
LDSHAREDFLAGS=-shared
-VER=2.0.4
+VER=2.1.0.devel
VER1=2
STATICLIB=$(LIBNAME1).a
fprintf(stderr, "warning: different zlib version\n");
}
- printf("zlib version %s = 0x%04x, compile flags = 0x%lx\n",
- PREFIX2(VERSION), PREFIX2(VERNUM), PREFIX(zlibCompileFlags)());
+ printf("zlib-ng version %s = 0x%08lx, compile flags = 0x%lx\n",
+ ZLIBNG_VERSION, ZLIBNG_VERNUM, PREFIX(zlibCompileFlags)());
compr = (unsigned char*)calloc((unsigned int)comprLen, 1);
uncompr = (unsigned char*)calloc((unsigned int)uncomprLen, 1);
extern "C" {
#endif
-#define ZLIBNG_VERSION "2.0.4"
-#define ZLIBNG_VERNUM 0x2040
+#define ZLIBNG_VERSION "2.1.0.devel"
+#define ZLIBNG_VERNUM 0x02010000L /* MMNNRRMS: major minor revision status modified */
#define ZLIBNG_VER_MAJOR 2
-#define ZLIBNG_VER_MINOR 0
-#define ZLIBNG_VER_REVISION 4
-#define ZLIBNG_VER_SUBREVISION 0
+#define ZLIBNG_VER_MINOR 1
+#define ZLIBNG_VER_REVISION 0
+#define ZLIBNG_VER_STATUS 0 /* 0=devel, 1-E=beta, F=Release */
+#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
/*
The 'zlib' compression library provides in-memory compression and
extern "C" {
#endif
-#define ZLIBNG_VERSION "2.0.4"
-#define ZLIBNG_VERNUM 0x2040
+#define ZLIBNG_VERSION "2.1.0.devel"
+#define ZLIBNG_VERNUM 0x02010000L /* MMNNRRMS: major minor revision status modified */
#define ZLIBNG_VER_MAJOR 2
-#define ZLIBNG_VER_MINOR 0
-#define ZLIBNG_VER_REVISION 4
-#define ZLIBNG_VER_SUBREVISION 0
+#define ZLIBNG_VER_MINOR 1
+#define ZLIBNG_VER_REVISION 0
+#define ZLIBNG_VER_STATUS 0 /* 0=devel, 1-E=beta, F=Release */
+#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
#define ZLIB_VERSION "1.2.11.zlib-ng"
#define ZLIB_VERNUM 0x12bf
};
const char zlibng_string[] =
- " zlib-ng 2.0.4 forked from zlib";
+ " zlib-ng 2.1.0.devel forked from zlib";
#ifdef ZLIB_COMPAT
const char * Z_EXPORT zlibVersion(void) {