]> git.ipfire.org Git - thirdparty/zstd.git/commit
added __clang__ to compiler-specific alignment attribute 4286/head
authorYann Collet <cyan@fb.com>
Wed, 5 Feb 2025 21:48:24 +0000 (13:48 -0800)
committerYann Collet <cyan@fb.com>
Wed, 5 Feb 2025 21:48:24 +0000 (13:48 -0800)
commit54e9d46db44c4832d031100800f54a397358f896
tree24ef3d44486c1f12d78c632735842021e12f6df6
parentbcf404c0ab73cb6cc822a1412b78ba7965f9d74d
added __clang__ to compiler-specific alignment attribute

when clang is used within msvc, `__GNUC__` isn't defined,
so testing `__clang__` explicitly is required.
lib/common/compiler.h