diff options
| author | hansr <hk-git@circlestorm.org> | 2014-10-12 12:38:06 +0200 |
|---|---|---|
| committer | hansr <hk-git@circlestorm.org> | 2014-10-12 12:38:06 +0200 |
| commit | f7e1e0130fb198fa2d4d62b8990d2ab205985b3f (patch) | |
| tree | 56b60d978ce22cea80c52be7962d6be5e8c0fef9 /trees.c | |
| parent | f5c5de68590f559ceee1f26bca0eb2f4b26a21cd (diff) | |
| download | Project-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) */ } /* =========================================================================== |
