Cleanup getopt with mingw
This commit is contained in:
parent
84c53bc0d8
commit
340733e765
1 changed files with 1 additions and 11 deletions
|
@ -185,8 +185,7 @@ extern void beos_init(int argc, char** argv);
|
|||
#ifdef __CYGWIN__
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
//#include "etlib/getopt.h"
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
extern char* optarg;
|
||||
extern int optind;
|
||||
extern int getopt(int argc, char* const* argv, const char* opt);
|
||||
|
@ -202,15 +201,6 @@ extern int getopt(int argc, char* const* argv, const char* opt);
|
|||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
extern int opterr;
|
||||
extern int optind;
|
||||
extern int optopt;
|
||||
extern char *optarg;
|
||||
|
||||
extern int getopt(int argc, char* const* argv, const char* opt);
|
||||
#endif
|
||||
|
||||
#include "stratagus.h"
|
||||
#include "video.h"
|
||||
#include "font.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue