Define WINVER if it's not defined. (bug 6456)

This commit is contained in:
Yevgen Muntyan 2006-08-21 03:52:40 -04:00 committed by Behdad Esfahbod
parent 6ed1613b51
commit 6de226be0e

View file

@ -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;