Browse Source

Enable compiling with MINGW under MS Windows

pre-master-46
Holger Vogt 2 years ago
parent
commit
86e991515e
  1. 5
      src/frontend/inp.c

5
src/frontend/inp.c

@ -89,12 +89,13 @@ extern void exec_controls(wordlist *controls);
extern void SetSource(char *Name);
#endif
#if defined (_MSC_VER) || defined (__MINGW32__)
#if defined (_MSC_VER)
typedef struct timeval {
long tv_sec;
long tv_usec;
} timeval;
#endif
#if defined (_MSC_VER) || defined (__MINGW32__)
extern int gettimeofday(struct timeval* tp, void* unused);
#endif

Loading…
Cancel
Save