]> wimlib.net Git - wimlib/blobdiff - src/xpress-compress.c
export compression functions when using special define
[wimlib] / src / xpress-compress.c
index 548c32cbc8a9cd5d1f56e7d011668eb5a65d3858..466dd7553811c73b7efe028a56e81b3d24ae78d1 100644 (file)
@@ -145,6 +145,9 @@ static const struct lz_params xpress_lz_params = {
  * Please see the documentation for the 'compress_func_t' type in write.c for
  * the exact behavior of this function and how to call it.
  */
+#ifdef EXPORT_COMPRESSION_FUNCTIONS
+WIMLIBAPI
+#endif
 unsigned
 xpress_compress(const void *__uncompressed_data, unsigned uncompressed_len,
                void *__compressed_data)