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

Assume Unix path separators by default #85

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

Conversation

robxnano
Copy link

The current path separator code causes compilation failures in Haiku, which uses Unix-style path separators but doesn't define the __unix__ macro. Instead of just adding __HAIKU__, this makes Unix-style the default fallback since the majority of platforms use it and the previous fallback would never work correctly anyway.

Instead of doing nothing, fall back to Unix-style if no known
definition is found so that new platforms are more likely to work
by default. Some operating systems like Haiku use Unix path
separators but don't define the __unix__ preprocessor directive.
@hpax
Copy link
Member

hpax commented May 31, 2024

I'm a bit concerned about this, since who knows what kind of weird platforms might break from this.
Then again, perhaps more platforms will work than not.
Does Haiku support autoconf?

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