summaryrefslogtreecommitdiff
path: root/trees.c
diff options
context:
space:
mode:
authorhansr <hk-git@circlestorm.org>2014-10-12 12:38:06 +0200
committerhansr <hk-git@circlestorm.org>2014-10-12 12:38:06 +0200
commitf7e1e0130fb198fa2d4d62b8990d2ab205985b3f (patch)
tree56b60d978ce22cea80c52be7962d6be5e8c0fef9 /trees.c
parentf5c5de68590f559ceee1f26bca0eb2f4b26a21cd (diff)
downloadProject-Tick-f7e1e0130fb198fa2d4d62b8990d2ab205985b3f.tar.gz
Project-Tick-f7e1e0130fb198fa2d4d62b8990d2ab205985b3f.zip
Remove workarounds for non-ANSI-C compatible compilers (Part 1)
Diffstat (limited to 'trees.c')
-rw-r--r--trees.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trees.c b/trees.c
index 9197c49f6f..69c092c0ab 100644
--- a/trees.c
+++ b/trees.c
@@ -77,7 +77,7 @@ local const uch bl_order[BL_CODES]
#define DIST_CODE_LEN 512 /* see definition of array dist_code below */
-#if defined(GEN_TREES_H) || !defined(STDC)
+#if defined(GEN_TREES_H)
/* non ANSI compilers may not accept trees.h */
ZLIB_INTERNAL ct_data static_ltree[L_CODES+2];
@@ -160,7 +160,7 @@ local void gen_trees_header OF((void));
*/
local void tr_static_init()
{
-#if defined(GEN_TREES_H) || !defined(STDC)
+#if defined(GEN_TREES_H)
static int static_init_done = 0;
int n; /* iterates over tree elements */
int bits; /* bit counter */
@@ -237,7 +237,7 @@ local void tr_static_init()
# ifdef GEN_TREES_H
gen_trees_header();
# endif
-#endif /* defined(GEN_TREES_H) || !defined(STDC) */
+#endif /* defined(GEN_TREES_H) */
}
/* ===========================================================================