00001 #ifndef _GETOPT_H_
00002 #define _GETOPT_H_
00003
00004 #include <OpenMesh/Core/System/compiler.hh>
00005
00006 #if defined(WIN32)
00007 #if defined(__cplusplus)
00008
00009 extern "C" {
00010
00011 extern int opterr;
00012 extern int optind;
00013 extern int optopt;
00014 extern int optreset;
00015 extern char *optarg;
00016
00017 extern int getopt(int nargc, char * const *nargv, const char *ostr);
00018
00019 }
00020
00021 # endif
00022 #else
00023 # include <getopt.h>
00024 #endif
00025
00026 #endif