Commit 04c5a9c0 by Tony Kelman

Add some missing definitions for mingw.org

these shouldn't be necessary if _WIN32_WINNT >= _WIN32_WINNT_VISTA
parent 1a7ea63d
...@@ -17,6 +17,13 @@ ...@@ -17,6 +17,13 @@
#define stat _stati64 #define stat _stati64
#endif #endif
#if _WIN32_WINNT < 0x0600 && !defined(__MINGW64_VERSION_MAJOR)
#undef MemoryBarrier
void __mingworg_MemoryBarrier(void);
#define MemoryBarrier __mingworg_MemoryBarrier
#define VOLUME_NAME_DOS 0x0
#endif
#endif #endif
#endif /* INCLUDE_mingw_compat__ */ #endif /* INCLUDE_mingw_compat__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment