Example and util compile fine.

This commit is contained in:
WangYi 2018-03-18 02:06:38 +08:00 committed by Unknown
parent 82f23c411d
commit e21fab3685
7 changed files with 1343 additions and 1 deletions

13
contrib/win32/getopt.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef GETOPT_H
#define GETOPT_H
extern int opterr; /* if error message should be printed */
extern int optind; /* index into parent argv vector */
extern int optopt; /* character checked for validity */
extern int optreset; /* reset getopt */
extern char *optarg; /* argument associated with option */
int getopt(int nargc, char * const nargv[], const char *ostr);
#endif