]> wimlib.net Git - wimlib/blobdiff - src/lzx-compress.c
export compression functions when using special define
[wimlib] / src / lzx-compress.c
index c829a4272d5b2011ba619e5dc06f30c6e93908e0..eb84d0cea108a69dfc16c1f0558d93e49b8724a2 100644 (file)
@@ -644,6 +644,9 @@ static const struct lz_params lzx_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
 lzx_compress(const void *__uncompressed_data, unsigned uncompressed_len,
             void *compressed_data)