From fb6aa032cf84f543234534cd2c24102eb730bbc4 Mon Sep 17 00:00:00 2001 From: fcolin Date: Tue, 26 Jul 2005 08:47:24 +0000 Subject: compile sur Windows les fichiers getopt sont necessaires uniquement sur Windows( WIN32 ) compilateur VStudio --- src/getopt.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 src/getopt.h (limited to 'src/getopt.h') diff --git a/src/getopt.h b/src/getopt.h new file mode 100755 index 0000000..d52543f --- /dev/null +++ b/src/getopt.h @@ -0,0 +1,16 @@ +#ifndef __GETOPT_H_ +#define __GETOPT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +extern int optind ; +extern char *optarg ; +extern int getopt (int argc, char **argv, char *optstring) ; + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.1