Skip to content

Commit

Permalink
getopt.h: Add optional_argument macro.
Browse files Browse the repository at this point in the history
This allows compiling code that uses this macro on Windows.
(See next commit for details).
  • Loading branch information
digit-google committed Oct 1, 2024
1 parent a833683 commit 0e0e489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/getopt.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/* macros defined by this include file */
#define no_argument 0
#define required_argument 1
#define optional_argument 2
#define OPTIONAL_ARG 2

/* types defined by this include file */
Expand Down

0 comments on commit 0e0e489

Please sign in to comment.