summaryrefslogtreecommitdiff
path: root/src/getopt.h
diff options
context:
space:
mode:
authorfcolin2005-07-26 08:47:24 +0000
committerfcolin2005-07-26 08:47:24 +0000
commitfb6aa032cf84f543234534cd2c24102eb730bbc4 (patch)
treee6815d6ca0e3f62274119c38f2cb2818bbdb0a01 /src/getopt.h
parentd5fc9f417c02ebe34b8f06847c375cd246f8c832 (diff)
downloadivy-c-fb6aa032cf84f543234534cd2c24102eb730bbc4.zip
ivy-c-fb6aa032cf84f543234534cd2c24102eb730bbc4.tar.gz
ivy-c-fb6aa032cf84f543234534cd2c24102eb730bbc4.tar.bz2
ivy-c-fb6aa032cf84f543234534cd2c24102eb730bbc4.tar.xz
compile sur Windows
les fichiers getopt sont necessaires uniquement sur Windows( WIN32 ) compilateur VStudio
Diffstat (limited to 'src/getopt.h')
-rwxr-xr-xsrc/getopt.h16
1 files changed, 16 insertions, 0 deletions
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