Files
openmesh/Tools/Utils/getopt.h
Jan Möbius 97f515985d First checkin for OpenMesh 2.0
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@2 fdac6126-5c0c-442c-9429-916003d36597
2009-02-06 13:37:46 +00:00

27 lines
388 B
C

#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_ */