Skip to content

Commit

Permalink
update version to employ XXH_NO_EXTERNC_GUARD
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Feb 12, 2025
1 parent 9e62d5f commit 90a1194
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/common/xxhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#define XXH_memcpy ZSTD_memcpy
#define XXH_memset ZSTD_memset


/*!
* @mainpage xxHash
*
Expand Down Expand Up @@ -231,7 +232,7 @@
* xxHash prototypes and implementation
*/

#if defined (__cplusplus)
#if defined(__cplusplus) && !defined(XXH_NO_EXTERNC_GUARD)
extern "C" {
#endif

Expand Down Expand Up @@ -7328,6 +7329,6 @@ XXH3_generateSecret_fromSeed(XXH_NOESCAPE void* secretBuffer, XXH64_hash_t seed)
#endif /* XXH_IMPLEMENTATION */


#if defined (__cplusplus)
#if defined (__cplusplus) && !defined(XXH_NO_EXTERNC_GUARD)
} /* extern "C" */
#endif

0 comments on commit 90a1194

Please sign in to comment.