diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch | |
Diffstat (limited to 'vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch')
| -rw-r--r-- | vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch b/vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch new file mode 100644 index 0000000..018c4e6 --- /dev/null +++ b/vcpkg/ports/liblzf/0002-fix-macro-expansion-ub.patch @@ -0,0 +1,15 @@ +--- a/lzfP.h ++++ b/lzfP.h +@@ -79,7 +79,11 @@ + * Unconditionally aligning does not cost very much, so do it if unsure + */ + #ifndef STRICT_ALIGN +-# define STRICT_ALIGN !(defined(__i386) || defined (__amd64)) ++# if !(defined(__i386) || defined (__amd64)) ++# define STRICT_ALIGN 1 ++# else ++# define STRICT_ALIGN 0 ++# endif + #endif + + /* |