正在显示
1 个修改的文件
包含
27 行增加
和
0 行删除
src/server/spserver/spgetopt.h
0 → 100644
1 | +/* | |
2 | + * Copyright 2008 Stephen Liu | |
3 | + * For license terms, see the file COPYING along with this library. | |
4 | + */ | |
5 | + | |
6 | +#ifndef __spgetopt_h__ | |
7 | +#define __spgetopt_h__ | |
8 | + | |
9 | +#ifdef WIN32 | |
10 | + | |
11 | +#ifdef __cplusplus | |
12 | +extern "C" { | |
13 | +#endif | |
14 | + | |
15 | +extern char *optarg; | |
16 | +extern int optind; | |
17 | +extern int opterr; | |
18 | +extern int optopt; | |
19 | +int getopt(int argc, char* const *argv, const char *optstr); | |
20 | + | |
21 | +#ifdef __cplusplus | |
22 | +} | |
23 | +#endif | |
24 | + | |
25 | +#endif | |
26 | + | |
27 | +#endif | ... | ... |
请
注册
或
登录
后发表评论