getopt.h 388 Bytes
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _GETOPT_H_
#define _GETOPT_H_

#include <OpenMesh/Core/System/compiler.hh>

#if defined(WIN32)
#if   defined(__cplusplus)

extern "C" {

extern int opterr;
extern int optind;
extern int optopt;
extern int optreset;
extern char  *optarg;

extern int getopt(int nargc, char * const *nargv, const char *ostr);

}

#  endif
#else
#  include <getopt.h>
#endif

#endif /* _GETOPT_H_ */