Real unistd.h declares getopt() & friends. Approximate that in
src/lib/w32/unistd.h by including getopt.h. Simplify users
This commit is contained in:
parent
f11a29b326
commit
1d438880ff
5 changed files with 40 additions and 14 deletions
|
@ -66,11 +66,7 @@ static int quiet = 0;
|
|||
/* lower URAN_MIN for more uranium */
|
||||
#define URAN_MIN 56
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <getopt.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue