|
Added
Link Here
|
| 1 |
--- xxhash.h.orig 2022-08-13 18:58:45.930785000 +0200 |
| 2 |
+++ xxhash.h 2022-08-13 18:59:08.416809000 +0200 |
| 3 |
@@ -1546,8 +1546,7 @@ |
| 4 |
/* note: use after variable declarations */ |
| 5 |
#ifndef XXH_STATIC_ASSERT |
| 6 |
# if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */ |
| 7 |
-# include <assert.h> |
| 8 |
-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0) |
| 9 |
+# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { _Static_assert((c),m); } while(0) |
| 10 |
# elif defined(__cplusplus) && (__cplusplus >= 201103L) /* C++11 */ |
| 11 |
# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0) |
| 12 |
# else |