diff --git a/src/config.h b/src/config.h index 9519c48..00f0a17 100644 --- a/src/config.h +++ b/src/config.h @@ -37,9 +37,20 @@ #elif defined(__FreeBSD__) /* do nothing */ + +#elif defined(__MINGW32__) + +#define __MISC_VISIBLE 1 + +#ifndef _POSIX_SOURCE +#define _POSIX_SOURCE +#endif + #else +#ifndef _POSIX_SOURCE #define _POSIX_SOURCE +#endif #endif