Display --interleave[=<number>]
[deliverable/binutils-gdb.git] / gold / compressed_output.cc
index 5a10329a2c6b18f46cab8af30359b8d68990ccfe..8c9fc1e96f73b5d7c01277035fe0d0fce963a38f 100644 (file)
 // MA 02110-1301, USA.
 
 #include "gold.h"
-
-#ifdef HAVE_ZLIB_H
 #include <zlib.h>
-#endif
-
 #include "parameters.h"
 #include "options.h"
 #include "compressed_output.h"
@@ -33,8 +29,6 @@
 namespace gold
 {
 
-#ifdef HAVE_ZLIB_H
-
 // Compress UNCOMPRESSED_DATA of size UNCOMPRESSED_SIZE.  Returns true
 // if it successfully compressed, false if it failed for any reason
 // (including not having zlib support in the library).  If it returns
@@ -124,24 +118,6 @@ zlib_decompress(const unsigned char* compressed_data,
   return true;
 }
 
-#else // !defined(HAVE_ZLIB_H)
-
-static bool
-zlib_compress(const unsigned char*, unsigned long,
-              unsigned char**, unsigned long*)
-{
-  return false;
-}
-
-static bool
-zlib_decompress(const unsigned char*, unsigned long,
-               unsigned char*, unsigned long)
-{
-  return false;
-}
-
-#endif // !defined(HAVE_ZLIB_H)
-
 // Read the compression header of a compressed debug section and return
 // the uncompressed size.
 
This page took 0.024208 seconds and 4 git commands to generate.