]> git.lyx.org Git - lyx.git/blobdiff - src/support/gzstream.C
Consistent use of preprocessor guards;
[lyx.git] / src / support / gzstream.C
index ce356c7b825000940ad25c4db3d6955dbd419d61..13013abdc0d9fc8ec0edab4c10fc9581818ecebc 100644 (file)
 // ============================================================================
 //
 // File          : gzstream.C
-// Revision      : $Revision: 1.1 $
-// Revision_date : $Date: 2003/07/27 23:40:08 $
+// Revision      : $Revision: 1.4 $
+// Revision_date : $Date: 2005/04/26 10:30:24 $
 // Author(s)     : Deepak Bandyopadhyay, Lutz Kettner
-// 
-// Standard streambuf implementation following Nicolai Josuttis, "The 
+//
+// Standard streambuf implementation following Nicolai Josuttis, "The
 // Standard C++ Library".
 // ============================================================================
 
-#include <gzstream.h>
+#include <config.h>
+
+#include "gzstream.h"
 #include <iostream>
-#include <string.h>  // for memcpy
+#ifdef HAVE_STRING_H
+# include <string.h> // for memcpy
+#endif
 
 #ifdef GZSTREAM_NAMESPACE
 namespace GZSTREAM_NAMESPACE {
@@ -97,7 +101,7 @@ int gzstreambuf::underflow() { // used for input buffer only
           buffer + 4 + num);          // end of buffer
 
     // return next character
-    return * reinterpret_cast<unsigned char *>( gptr());    
+    return * reinterpret_cast<unsigned char *>( gptr());
 }
 
 int gzstreambuf::flush_buffer() {