diff options
Diffstat (limited to 'pc/config.h')
-rw-r--r-- | pc/config.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pc/config.h b/pc/config.h index 079b6dec..92e1b4e3 100644 --- a/pc/config.h +++ b/pc/config.h @@ -59,7 +59,9 @@ #define HAVE_FMOD 1 /* have getaddrinfo */ -#undef HAVE_GETADDRINFO +#ifdef __MINGW32__ +#define HAVE_GETADDRINFO 1 +#endif /* Define to 1 if you have the `getgrent' function. */ #undef HAVE_GETGRENT @@ -210,10 +212,14 @@ #endif /* newer systems define this type here */ -#undef HAVE_SOCKADDR_STORAGE +#ifdef __MINGW32__ +#define HAVE_SOCKADDR_STORAGE 1 +#endif /* we have sockets on this system */ -#undef HAVE_SOCKETS +#ifdef __MINGW32__ +#define HAVE_SOCKETS 1 +#endif /* Define to 1 if you have the <stdarg.h> header file. */ #define HAVE_STDARG_H 1 @@ -285,10 +291,6 @@ /* Define to 1 if `tm_zone' is a member of `struct tm'. */ #undef HAVE_STRUCT_TM_TM_ZONE -/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use - `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */ -#undef HAVE_ST_BLKSIZE - /* Define to 1 if you have the `system' function. */ #define HAVE_SYSTEM 1 |