summaryrefslogtreecommitdiff
path: root/tools/getopt.h
diff options
context:
space:
mode:
authorfcolin2008-04-21 15:33:21 +0000
committerfcolin2008-04-21 15:33:21 +0000
commiteef724f3d0e751fb61be907c09d553a4beab4501 (patch)
tree9c33706979dd675731665ae64d47112ad19538f0 /tools/getopt.h
parent50b963828e46b8e64b934b16a1c4d67adfdf9d88 (diff)
downloadivy-c-eef724f3d0e751fb61be907c09d553a4beab4501.zip
ivy-c-eef724f3d0e751fb61be907c09d553a4beab4501.tar.gz
ivy-c-eef724f3d0e751fb61be907c09d553a4beab4501.tar.bz2
ivy-c-eef724f3d0e751fb61be907c09d553a4beab4501.tar.xz
compilation sous WINDOWS
Diffstat (limited to 'tools/getopt.h')
-rw-r--r--tools/getopt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/getopt.h b/tools/getopt.h
new file mode 100644
index 0000000..d52543f
--- /dev/null
+++ b/tools/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