From d3fa2085bf9169eab3430ff903f75b7487c7ee82 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 6 Dec 2008 00:22:35 +0000 Subject: Build on Win32 and create VCE project. --- compat.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 compat.h (limited to 'compat.h') diff --git a/compat.h b/compat.h new file mode 100644 index 0000000..02ad831 --- /dev/null +++ b/compat.h @@ -0,0 +1,19 @@ + +#ifndef _COMPAT_H_ +#define _COMPAT_H_ + +#ifdef _WIN32 + +int getopt(int argc, char* const *argv, const char *optstr); +extern char *optarg; +extern int optreset; +extern int optind; +extern int opterr; + +#else + +#include + +#endif + +#endif /* _COMPAT_H_ */ -- cgit v1.2.3