Remove LZMA_UNSTABLE macro.

This commit is contained in:
Lasse Collin 2014-11-26 20:12:27 +02:00
parent 6d9c0ce9f2
commit 34f9e40a0a
3 changed files with 0 additions and 7 deletions

View File

@ -60,7 +60,6 @@
#define LZMA_PRESET_EXTREME (UINT32_C(1) << 31) #define LZMA_PRESET_EXTREME (UINT32_C(1) << 31)
#ifdef LZMA_UNSTABLE /* Unstable API that may change. Use only for testing. */
/** /**
* \brief Multithreading options * \brief Multithreading options
*/ */
@ -180,7 +179,6 @@ typedef struct {
void *reserved_ptr4; void *reserved_ptr4;
} lzma_mt; } lzma_mt;
#endif
/** /**
@ -314,7 +312,6 @@ extern LZMA_API(lzma_ret) lzma_stream_encoder(lzma_stream *strm,
lzma_nothrow lzma_attr_warn_unused_result; 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 * \brief Calculate approximate memory usage of multithreaded .xz encoder
* *
@ -356,7 +353,6 @@ extern LZMA_API(uint64_t) lzma_stream_encoder_mt_memusage(
extern LZMA_API(lzma_ret) lzma_stream_encoder_mt( extern LZMA_API(lzma_ret) lzma_stream_encoder_mt(
lzma_stream *strm, const lzma_mt *options) lzma_stream *strm, const lzma_mt *options)
lzma_nothrow lzma_attr_warn_unused_result; lzma_nothrow lzma_attr_warn_unused_result;
#endif
/** /**

View File

@ -32,8 +32,6 @@
#define LZMA_API(type) LZMA_API_EXPORT type LZMA_API_CALL #define LZMA_API(type) LZMA_API_EXPORT type LZMA_API_CALL
#define LZMA_UNSTABLE
#include "lzma.h" #include "lzma.h"
// These allow helping the compiler in some often-executed branches, whose // These allow helping the compiler in some often-executed branches, whose

View File

@ -13,7 +13,6 @@
#include "sysdefs.h" #include "sysdefs.h"
#include "mythread.h" #include "mythread.h"
#define LZMA_UNSTABLE
#include "lzma.h" #include "lzma.h"
#include <sys/types.h> #include <sys/types.h>