[cairo-commit] src/cairoint.h

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Aug 21 00:52:47 PDT 2006


 src/cairoint.h |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 6de226be0e879709c4068cb7836d485e75928287 (from 6ed1613b5175ea9c431fff2df2cd1cf2e2edbf93)
Author: Yevgen Muntyan <muntyan at tamu.edu>
Date:   Mon Aug 21 03:52:40 2006 -0400

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

diff --git a/src/cairoint.h b/src/cairoint.h
index 13d19b1..4846ac3 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -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;


More information about the cairo-commit mailing list