Skip to content

Fix SIMD header mutual exclusion for NEON and Altivec#95

Open
marton78 wants to merge 2 commits intomasterfrom
fix-emscripten-build
Open

Fix SIMD header mutual exclusion for NEON and Altivec#95
marton78 wants to merge 2 commits intomasterfrom
fix-emscripten-build

Conversation

@marton78
Copy link
Copy Markdown
Owner

Add !defined(SIMD_SZ) guard to NEON and Altivec headers, matching the guard already present in pf_sse1_float.h. This prevents redefinition errors when multiple SIMD backends match (e.g. Emscripten with -msimd128 enabling SSE while __arm__ and PFFFT_ENABLE_NEON are also defined).

Fixes #94

marton78 and others added 2 commits April 13, 2026 12:11
Add !defined(SIMD_SZ) guard to pf_neon_float.h and pf_altivec_float.h,
matching the guard already present in pf_sse1_float.h. This prevents
redefinition errors when multiple SIMD backends match (e.g. Emscripten
with -msimd128 enabling SSE while __arm__ and PFFFT_ENABLE_NEON are
also defined).

Fixes #94

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Applies fully qualified namespace syntax throughout the codebase to ensure
std:: references are unambiguous, especially in contexts where user namespaces
may define conflicting std symbols.

Fixes #65

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emscripten master v4sf_union

1 participant