Skip to content

Pick the right sort function on GNU/Hurd - #381

Merged
wegank merged 1 commit into
algebraic-solving:masterfrom
diegonc:master
Oct 14, 2026
Merged

wegank merged 1 commit into
algebraic-solving:masterfrom
diegonc:master

Conversation

@diegonc

@diegonc diegonc commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The sort function picking code had prevented this package from being built under GNU/Hurd.
Currently, the code path on GNU/Hurd followed the __MACH__ branch shared with Apple.
Event though GNU/Hurd is based on Mach, the sorting function should be pulled from GLIBC.
So, this small patch adds a check for __GNU__ to avoid BSD stuff.

Comment thread src/neogb/sort_r.h Outdated

@wegank wegank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wegank
wegank merged commit a18d0de into algebraic-solving:master Oct 14, 2026
10 checks passed
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