Commit a4f5516f authored by Jörn Engel's avatar Jörn Engel Committed by Linus Torvalds

[PATCH] zlib cleanup: __32BIT__ and STDC

Remove unused __32BIT__ and STDC macros
parent ff8009c0
...@@ -8,18 +8,6 @@ ...@@ -8,18 +8,6 @@
#ifndef _ZCONF_H #ifndef _ZCONF_H
#define _ZCONF_H #define _ZCONF_H
#if defined(__GNUC__) || defined(__386__) || defined(i386)
# ifndef __32BIT__
# define __32BIT__
# endif
#endif
#if defined(__STDC__) || defined(__cplusplus)
# ifndef STDC
# define STDC
# endif
#endif
/* The memory requirements for deflate are (in bytes): /* The memory requirements for deflate are (in bytes):
(1 << (windowBits+2)) + (1 << (memLevel+9)) (1 << (windowBits+2)) + (1 << (memLevel+9))
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values) that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
...@@ -49,13 +37,7 @@ ...@@ -49,13 +37,7 @@
/* Type declarations */ /* Type declarations */
#ifndef OF /* function prototypes */
# ifdef STDC
# define OF(args) args # define OF(args) args
# else
# define OF(args) ()
# endif
#endif
#ifndef ZEXPORT #ifndef ZEXPORT
# define ZEXPORT # define ZEXPORT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment