}
StdioStream::Ptr logStream = boost::make_shared<StdioStream>(fp, true);
+#ifdef ZLIB
m_LogFile = boost::make_shared<ZlibStream>(logStream);
+#else /* ZLIB */
+ m_LogFile = logStream;
+#endif /* ZLIB */
m_LogMessageCount = 0;
m_LogMessageTimestamp = 0;
}
std::fstream *fp = new std::fstream(path.CStr(), std::fstream::in);
StdioStream::Ptr logStream = boost::make_shared<StdioStream>(fp, true);
+#ifdef ZLIB
ZlibStream::Ptr lstream = boost::make_shared<ZlibStream>(logStream);
+#else /* ZLIB */
+ Stream::Ptr lstream = logStream;
+#endif /* ZLIB */
String message;
while (true) {