Skip to content

Fix compilation with musl c library#18

Open
doughdemon wants to merge 1 commit intosphinxsearch:masterfrom
doughdemon:master
Open

Fix compilation with musl c library#18
doughdemon wants to merge 1 commit intosphinxsearch:masterfrom
doughdemon:master

Conversation

@doughdemon
Copy link

Currently compilation on linux systems using the musl c library (http://musl-libc.org) fails with the error 'expected unqualified-id before numeric constant' in sphinx.cpp. See http://bluedragon-tinderbox.freeharbor.net/app-misc/sphinx-2.1.9/temp/build.log for a complete failing build log.

As allowed by POSIX musl a macro PAGE_SIZE in <limits.h>, which
collides with its use as a variable in src/sphinx.cpp
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.

1 participant