From 56b89bc863d1a5da6234f05923f63b5466e1ce3f Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Sat, 1 Mar 2014 12:21:39 +0100 Subject: emulator/opengl: Allow standalone build. This patch improves the build files for the GPU emulation libraries to allow them to be built directly with the emulator's own standalone build system. Change-Id: I205392bdfe4223a5c43fa67e24a2beffcbcbc07a --- emulator/opengl/host/tools/emugen/getopt.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 emulator/opengl/host/tools/emugen/getopt.h (limited to 'emulator/opengl/host/tools/emugen/getopt.h') 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 -- cgit v1.1