author | Wolfgang Denk <wd@denx.de> | |
Sat, 5 Dec 2009 23:53:18 +0000 (00:53 +0100) | ||
committer | Wolfgang Denk <wd@denx.de> | |
Mon, 7 Dec 2009 20:50:18 +0000 (21:50 +0100) | ||
commit | a9f99ab44b473fb394169ba365f8b4380f981584 | |
tree | a900d27635b0aa20bf9ba56e12e4f95d5a2f50a0 | tree | snapshot (tar.xz tar.gz zip) |
parent | 8cbf4e4f17121d732e78764f0ba317c9a1838ea6 | commit | diff |
zlib.c: avoid build conflicts for cradle board
Commit dce3d79710 updated the zlib code to v0.95; this caused
conflicts when building for the "cradle" board, because the (pretty
generic) preprocessor variable "OFF" was used in multiple files.
Make sure to avoid further conflicts by #undef'ing it in zlib.c
before redefining it.
Signed-off-by: Wolfgang Denk <wd@denx.de>
cc: Giuseppe Condorelli <giuseppe.condorelli@st.com>
cc: Angelo Castello <angelo.castello@st.com>
cc: Alessandro Rubini <rubini-list@gnudd.com>
Commit dce3d79710 updated the zlib code to v0.95; this caused
conflicts when building for the "cradle" board, because the (pretty
generic) preprocessor variable "OFF" was used in multiple files.
Make sure to avoid further conflicts by #undef'ing it in zlib.c
before redefining it.
Signed-off-by: Wolfgang Denk <wd@denx.de>
cc: Giuseppe Condorelli <giuseppe.condorelli@st.com>
cc: Angelo Castello <angelo.castello@st.com>
cc: Alessandro Rubini <rubini-list@gnudd.com>
lib_generic/zlib.c | diff | blob | history |