mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-28 10:00:41 +02:00
Define WINVER if it's not defined. (bug 6456)
This commit is contained in:
parent
6ed1613b51
commit
6de226be0e
1 changed files with 3 additions and 0 deletions
|
|
@ -143,6 +143,9 @@ CAIRO_BEGIN_DECLS
|
|||
|
||||
#if !defined(CAIRO_MUTEX_DECLARE) && defined CAIRO_HAS_WIN32_SURFACE
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# ifndef WINVER
|
||||
# define WINVER 0xFFFFF /* use newest and greatest */
|
||||
# endif
|
||||
# include <windows.h>
|
||||
/* the real initialization must take place in DllMain */
|
||||
# define CAIRO_MUTEX_DECLARE(name) extern CRITICAL_SECTION name;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue