summaryrefslogtreecommitdiff
path: root/sound_detector/wingetopt.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-22 01:51:52 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-22 01:51:52 +0200
commit226260b78d77f0f4a1dc8c60627a8d65af3537dd (patch)
tree52fe5b01116aead725619da98f3b04b9a39ee97e /sound_detector/wingetopt.h
parentc09fb835986c7412119767449a976fa1e61f6b0d (diff)
windows specific
Diffstat (limited to 'sound_detector/wingetopt.h')
-rw-r--r--sound_detector/wingetopt.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/sound_detector/wingetopt.h b/sound_detector/wingetopt.h
new file mode 100644
index 0000000..b3969ad
--- /dev/null
+++ b/sound_detector/wingetopt.h
@@ -0,0 +1,28 @@
+/*
+POSIX getopt for Windows
+
+AT&T Public License
+
+Code given out at the 1985 UNIFORUM conference in Dallas.
+*/
+
+
+#ifndef _WINGETOPT_H_
+#define _WINGETOPT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int opterr;
+extern int optind;
+extern int optopt;
+extern char *optarg;
+extern int getopt(int argc, char **argv, char *opts);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _GETOPT_H_ */
+