]> git.lyx.org Git - features.git/blobdiff - src/support/gzstream.h
Guard new code for builds with OS X 10.11 SDK and lesser (part 2).
[features.git] / src / support / gzstream.h
index 0d7b6cb03a3af3f501fc95a14cdf32d1a4111cc5..7561162b2710aa8d8c1d3e64ea82006465171f99 100644 (file)
@@ -18,8 +18,8 @@
 // ============================================================================
 //
 // File          : gzstream.h
-// Revision      : $Revision: 1.1 $
-// Revision_date : $Date: 2003/07/27 23:40:08 $
+// Revision      : $Revision: 1.2 $
+// Revision_date : $Date: 2005/04/26 10:30:24 $
 // Author(s)     : Deepak Bandyopadhyay, Lutz Kettner
 //
 // Standard streambuf implementation following Nicolai Josuttis, "The
@@ -31,7 +31,6 @@
 
 // standard C++ with new header file names and std:: namespace
 #include <iostream>
-#include <fstream>
 #include <zlib.h>
 
 // For LyX
@@ -57,7 +56,7 @@ private:
 
     int flush_buffer();
 public:
-    gzstreambuf() : opened(0) {
+    gzstreambuf() : file(0), opened(0), mode(0) {
         setp( buffer, buffer + (bufferSize-1));
         setg( buffer + 4,     // beginning of putback area
               buffer + 4,     // read position