Please sign in to comment.
Fix unit test build on NetBSD
The previous fix overlooked that symbol `getopt_long_only` was still used even though it wouldn't be called. Fix that oversight and replace the `__NetBSD__` symbol test with a proper feature test for whether the platform provides `getopt_long_only()`. Fixes #1451
- Loading branch information
Showing with 17 additions and 8 deletions.