Skip to content

Commit 71483dc

Browse files
committed
getopt.h: Add optional_argument macro.
This allows compiling code that uses this macro on Windows. (See next commit for details).
1 parent 8872a16 commit 71483dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/getopt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/* macros defined by this include file */
77
#define no_argument 0
88
#define required_argument 1
9+
#define optional_argument 2
910
#define OPTIONAL_ARG 2
1011

1112
/* types defined by this include file */

0 commit comments

Comments
 (0)