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

Add ya_getopt, a 2-clause-BSD-licensed implementation of getopt_long() #1410

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

Conversation

sethk
Copy link
Contributor

@sethk sethk commented Feb 12, 2025

This satisfies the dependency for MSVC. Systems with Glibc, or a suitable getopt_long() available in libc (e.g. macOS/*BSD) will continue using that.

This satisfies the dependency for MSVC. Systems with Glibc, or a
suitable getopt_long() available in libc (e.g. macOS/*BSD) will continue
using that.
@nilfm99 nilfm99 requested review from nilfm99 and kylophone February 12, 2025 17:13
@kylophone
Copy link
Collaborator

I guess #1412 is a dependency for this one, right?

@sethk
Copy link
Contributor Author

sethk commented Feb 14, 2025

I guess #1412 is a dependency for this one, right?

These changes should be independent, unless I made a mistake, but they are both in service of MSVC support. I don't know of any other systems that lack a getopt_long().

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