aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/tools/emugen/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/opengl/host/tools/emugen/getopt.h')
-rw-r--r--emulator/opengl/host/tools/emugen/getopt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/emulator/opengl/host/tools/emugen/getopt.h b/emulator/opengl/host/tools/emugen/getopt.h
new file mode 100644
index 0000000..5ad039c
--- /dev/null
+++ b/emulator/opengl/host/tools/emugen/getopt.h
@@ -0,0 +1,18 @@
+#ifndef GETOPT_H
+#define GETOPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int optind;
+extern const char* optarg;
+extern int optopt;
+
+int getopt(int argc, char* const argv[], const char* ostr);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // GETOPT_H