This way people hopefully won't complain if these APIs
change and break code that used an older API.
#define LZMA_PRESET_EXTREME (UINT32_C(1) << 31)
+#ifdef LZMA_UNSTABLE /* Unstable API that may change. Use only for testing. */
/**
* \brief Multithreading options
*/
void *reserved_ptr4;
} lzma_mt;
+#endif
/**
lzma_nothrow lzma_attr_warn_unused_result;
+#ifdef LZMA_UNSTABLE /* Unstable API that may change. Use only for testing. */
/**
* \brief Calculate approximate memory usage of multithreaded .xz encoder
*
extern LZMA_API(lzma_ret) lzma_stream_encoder_mt(
lzma_stream *strm, const lzma_mt *options)
lzma_nothrow lzma_attr_warn_unused_result;
+#endif
/**
#define LZMA_API(type) LZMA_API_EXPORT type LZMA_API_CALL
+#define LZMA_UNSTABLE
+
#include "lzma.h"
// These allow helping the compiler in some often-executed branches, whose
#include "sysdefs.h"
#include "mythread.h"
+
+#define LZMA_UNSTABLE
#include "lzma.h"
#include <sys/types.h>