diff src/dmzlib.h @ 1060:5006cfe66250

Rename constants.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Mar 2015 00:02:05 +0200
parents d98fcb10df6a
children 43905dacb365
line wrap: on
line diff
--- a/src/dmzlib.h	Mon Mar 02 00:01:14 2015 +0200
+++ b/src/dmzlib.h	Mon Mar 02 00:02:05 2015 +0200
@@ -14,14 +14,14 @@
 #endif
 
 
-#define STBI__ZFAST_BITS  9  // accelerate all cases in default tables
-#define STBI__ZFAST_SIZE  (1 << STBI__ZFAST_BITS)
-#define STBI__ZFAST_MASK  (STBI__ZFAST_SIZE - 1)
+#define DM_ZLIB_HFAST_BITS  9  // accelerate all cases in default tables
+#define DM_ZLIB_HFAST_SIZE  (1 << DM_ZLIB_HFAST_BITS)
+#define DM_ZLIB_HFAST_MASK  (DM_ZLIB_HFAST_SIZE - 1)
 
 
 typedef struct
 {
-    Uint16  fast[STBI__ZFAST_SIZE];
+    Uint16  fast[DM_ZLIB_HFAST_SIZE];
     Uint16  firstCode[16];
     int     maxCode[17];
     Uint16  firstSymbol[16];