1 --- a/src/lib/CDRZipStream.cpp
2 +++ b/src/lib/CDRZipStream.cpp
3 @@ -160,11 +160,7 @@ WPXInputStream *libcdr::CDRZipStream::getDocumentOLEStream(const char *name)
5 bool libcdr::CDRZipStreamImpl::findCentralDirectoryEnd()
7 -#if defined(LIBWPD_STREAM_VERSION_MAJOR) && defined(LIBWPD_STREAM_VERSION_MINOR) && defined(LIBWPD_STREAM_VERSION_REVISION) \
8 - && (LIBWPD_STREAM_VERSION_MAJOR > 0 || (LIBWPD_STREAM_VERSION_MAJOR == 0 && (LIBWPD_STREAM_VERSION_MINOR > 9 \
9 - || (LIBWPD_STREAM_VERSION_MINOR == 9 && LIBWPD_STREAM_VERSION_REVISION >= 5))))
10 if (m_cdir_offset || m_input->seek(-1024, WPX_SEEK_END))
12 m_input->seek(m_cdir_offset, WPX_SEEK_SET);