]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
move ZSTD_BLOCKSIZE_MAX_MIN to static linking only section
authorDanielle Rozenblit <drozenblit@fb.com>
Fri, 13 Jan 2023 15:00:50 +0000 (07:00 -0800)
committerDanielle Rozenblit <drozenblit@fb.com>
Fri, 13 Jan 2023 15:00:50 +0000 (07:00 -0800)
lib/zstd.h

index 9d1d507ffcb8e1f5b66215a01d2d1807e4b3294b..dfe420001f5b60c1fa642da4ab2b0e76719553b7 100644 (file)
@@ -141,7 +141,6 @@ ZSTDLIB_API const char* ZSTD_versionString(void);
 
 #define ZSTD_BLOCKSIZELOG_MAX  17
 #define ZSTD_BLOCKSIZE_MAX     (1<<ZSTD_BLOCKSIZELOG_MAX)
-#define ZSTD_BLOCKSIZE_MAX_MIN (1 << 10) /* The minimum valid max blocksize. Maximum blocksizes smaller than this make compressBound() inaccurate. */
 
 
 /***************************************
@@ -1203,6 +1202,7 @@ ZSTDLIB_API size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict);
 #define ZSTD_TARGETLENGTH_MIN     0   /* note : comparing this constant to an unsigned results in a tautological test */
 #define ZSTD_STRATEGY_MIN        ZSTD_fast
 #define ZSTD_STRATEGY_MAX        ZSTD_btultra2
+#define ZSTD_BLOCKSIZE_MAX_MIN (1 << 10) /* The minimum valid max blocksize. Maximum blocksizes smaller than this make compressBound() inaccurate. */
 
 
 #define ZSTD_OVERLAPLOG_MIN       0