fixed workspace alignment on non 64-bit systems

This commit is contained in:
Yann Collet authored and Yann Collet committed 2024-10-23 11:50:57 -07:00
1 parent cae8d13294
commit 4ce91cbf2b
3 files changed
+34 -27

No files matched your search

+2
View File
@@ -278,6 +278,8 @@
* Alignment check
*****************************************************************/
#define ZSTD_IS_POWER_2(a) (((a) & ((a)-1)) == 0)
/* this test was initially positioned in mem.h,
* but this file is removed (or replaced) for linux kernel
* so it's now hosted in compiler.h,