More mingw32 MemoryBarrier() fixup

This commit is contained in:
Behdad Esfahbod 2014-07-19 16:33:49 -04:00
parent 6781c6baef
commit 342b908b96
1 changed files with 6 additions and 1 deletions

View File

@ -32,8 +32,13 @@
#endif
#ifdef _WIN32
/* Request Windows Vista for building. This is required to
* get MemoryBarrier on mingw32... */
# if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
# undef _WIN32_WINNT
# endif
# ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0500
# define _WIN32_WINNT 0x0600
# endif
# define WIN32_LEAN_AND_MEAN
# define WIN32_EXTRA_LEAN