Skip to content

Commit

Permalink
More fixing MemoryBarrier() on Mingw32
Browse files Browse the repository at this point in the history
Set requested windows header to Vista.  See discussion:

fbb2847#commitcomment-7054700
  • Loading branch information
behdad committed Jul 19, 2014
1 parent 00a57eb commit f26d59d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hb-atomic-private.hh
Expand Up @@ -45,6 +45,9 @@
#elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__))

#define WIN32_LEAN_AND_MEAN
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#include <windows.h>

/* MinGW has a convoluted history of supporting MemoryBarrier
Expand Down

0 comments on commit f26d59d

Please sign in to comment.