Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 64-bit sparc detection #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix 64-bit sparc detection #46

wants to merge 1 commit into from

Conversation

matoro
Copy link

@matoro matoro commented Jun 23, 2022

Unfortunately 64-bit SPARC only defines __sparc__ and not __sparc64__, so you must combine it with generic 64-bit detection.

Source: https://sourceforge.net/p/predef/wiki/Architectures/

ncopa added a commit to ncopa/marisa-trie that referenced this pull request Apr 24, 2024
Detect the MARISA_WORD_SIZE independent of architecture.

Fixes: s-yata#40
Fixes: s-yata#57
Fixes: s-yata#44
Fixes: s-yata#46
Fixes: s-yata#56
@ncopa
Copy link

ncopa commented Apr 24, 2024

There is a better way to solve this: #58

ncopa added a commit to ncopa/marisa-trie that referenced this pull request Apr 30, 2024
Detect the MARISA_WORD_SIZE independent of architecture.

Fixes: s-yata#40
Fixes: s-yata#57
Fixes: s-yata#44
Fixes: s-yata#46
Fixes: s-yata#56
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.

2 participants