#ifndef _GETOPT_H_ #define _GETOPT_H_ #include #include #if defined(_MSC_VER) #if defined(__cplusplus) extern "C" { extern OPENMESHDLLEXPORT int opterr; extern OPENMESHDLLEXPORT int optind; extern OPENMESHDLLEXPORT int optopt; extern OPENMESHDLLEXPORT int optreset; extern OPENMESHDLLEXPORT char *optarg; OPENMESHDLLEXPORT extern int getopt(int nargc, char * const *nargv, const char *ostr); } #endif #elif defined __APPLE__ || defined(__FreeBSD__) #include #else #include #endif #endif /* _GETOPT_H_ */