]> wimlib.net Git - wimlib/blobdiff - include/wimlib/chunk_compressor.h
Make --disable-multithreaded-compression work again
[wimlib] / include / wimlib / chunk_compressor.h
index 176dc531710d8e82a5b10db7f6ae6af6e4c4689b..4684a61c14e81edda01293ad00a2ef4c94654200 100644 (file)
@@ -59,10 +59,12 @@ struct chunk_compressor {
 
 /* Functions that return implementations of the chunk_compressor interface.  */
 
 
 /* Functions that return implementations of the chunk_compressor interface.  */
 
+#ifdef ENABLE_MULTITHREADED_COMPRESSION
 int
 new_parallel_chunk_compressor(int out_ctype, u32 out_chunk_size,
                              unsigned num_threads, u64 max_memory,
                              struct chunk_compressor **compressor_ret);
 int
 new_parallel_chunk_compressor(int out_ctype, u32 out_chunk_size,
                              unsigned num_threads, u64 max_memory,
                              struct chunk_compressor **compressor_ret);
+#endif
 
 int
 new_serial_chunk_compressor(int out_ctype, u32 out_chunk_size,
 
 int
 new_serial_chunk_compressor(int out_ctype, u32 out_chunk_size,