Scuffed library

This commit is contained in:
Reece Wilson 2021-01-03 23:44:11 +00:00
parent 6e159dd682
commit 3a02a7b1b1
2 changed files with 7 additions and 5 deletions

View File

@ -172,8 +172,6 @@ ZBUFF_DEPRECATED("use ZSTD_DStreamOutSize") size_t ZBUFF_recommendedDOutSize(voi
#endif /* ZSTD_BUFFERED_H_23987 */ #endif /* ZSTD_BUFFERED_H_23987 */
#ifdef ZBUFF_STATIC_LINKING_ONLY
#ifndef ZBUFF_STATIC_H_30298098432 #ifndef ZBUFF_STATIC_H_30298098432
#define ZBUFF_STATIC_H_30298098432 #define ZBUFF_STATIC_H_30298098432
@ -206,7 +204,6 @@ ZBUFF_DEPRECATED("use ZSTD_initDStream_usingDict") size_t ZBUFF_compressInit_adv
#endif /* ZBUFF_STATIC_H_30298098432 */ #endif /* ZBUFF_STATIC_H_30298098432 */
#endif /* ZBUFF_STATIC_LINKING_ONLY */
#if defined (__cplusplus) #if defined (__cplusplus)

View File

@ -7,10 +7,15 @@
* in the COPYING file in the root directory of this source tree). * in the COPYING file in the root directory of this source tree).
* You may select, at your option, one of the above-listed licenses. * You may select, at your option, one of the above-listed licenses.
*/ */
#pragma once
#if defined (__cplusplus) #if defined (__cplusplus)
extern "C" { extern "C" {
#endif #endif
#ifndef ZSTD_H_235446 #ifndef ZSTD_H_235446
#define ZSTD_H_235446 #define ZSTD_H_235446
@ -1050,8 +1055,8 @@ ZSTDLIB_API size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict);
* Use them only in association with static linking. * Use them only in association with static linking.
* ***************************************************************************************/ * ***************************************************************************************/
#if defined(ZSTD_STATIC_LINKING_ONLY) && !defined(ZSTD_H_ZSTD_STATIC_LINKING_ONLY) #if 1
#define ZSTD_H_ZSTD_STATIC_LINKING_ONLY //#define ZSTD_H_ZSTD_STATIC_LINKING_ONLY
/**************************************************************************************** /****************************************************************************************
* experimental API (static linking only) * experimental API (static linking only)