diff options
| author | David 'Digit' Turner <digit@google.com> | 2014-03-01 12:21:39 +0100 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2014-03-11 18:03:08 +0100 |
| commit | 56b89bc863d1a5da6234f05923f63b5466e1ce3f (patch) | |
| tree | 4204ae9b54bec017c7d8e2e9688ba1120b6af89a /emulator/opengl/host/tools/emugen/getopt.h | |
| parent | 829f46fdcd3136e2b97c310538cb27881ff3733b (diff) | |
| download | sdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.zip sdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.tar.gz sdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.tar.bz2 | |
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
Diffstat (limited to 'emulator/opengl/host/tools/emugen/getopt.h')
| -rw-r--r-- | emulator/opengl/host/tools/emugen/getopt.h | 18 |
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 |
