Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix compilation on linux systems using musl libc
As allowed by POSIX musl a macro PAGE_SIZE in <limits.h>, which
collides with its use as a variable in src/sphinx.cpp
  • Loading branch information
doughdemon committed Jan 12, 2016
commit 8456a507949f003992633d7594abb3297cc228d6
3 changes: 3 additions & 0 deletions src/sphinx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
#endif
#endif

// PAGE_SIZE may be in <limits.h>
#undef PAGE_SIZE

#if USE_LIBICONV
#include "iconv.h"
#endif
Expand Down