diff --git a/win32.h b/win32.h --- a/win32.h +++ b/win32.h @@ -23,4 +23,8 @@ wchar_t *convert_to_fs(const char *name, # define WIDE_TO_MB_BUFFER(str, buffer, buflen) (str) #endif +#if defined(__MINGW32__) +#define SHGFP_TYPE_CURRENT 0 +#endif /* __MINGW32__ */ + #endif /* WIN32_H */