summaryrefslogtreecommitdiff
path: root/src/cairo-mutex-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-04-29 19:29:24 +0930
committerCarl Worth <cworth@cworth.org>2007-04-30 14:38:19 -0700
commit4be608399f0d196a792f84fe4ddfce9acd2ea943 (patch)
treecab464a80921cad6f430640849bbd425da87624e /src/cairo-mutex-private.h
parenta5d1fc923fdef354ceed8478c93e8b7cb734158a (diff)
downloadcairo-4be608399f0d196a792f84fe4ddfce9acd2ea943.tar.gz
Fix cygwin compile error
The WINVER macros need to be defined before including <windows.h>. As a result of some recent include file rearranging, <windows.h> was included indirectly before WINVER was defined.
Diffstat (limited to 'src/cairo-mutex-private.h')
-rw-r--r--src/cairo-mutex-private.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cairo-mutex-private.h b/src/cairo-mutex-private.h
index 9b9adbae2..85757a5c0 100644
--- a/src/cairo-mutex-private.h
+++ b/src/cairo-mutex-private.h
@@ -80,18 +80,6 @@ CAIRO_BEGIN_DECLS
#elif HAVE_WINDOWS_H /*******************************************************/
-/* We require Windows 2000 features. Although we don't use them here, things
- * should still work if this header file ends up being the one to include
- * windows.h into a source file, so: */
-# if !defined(WINVER) || (WINVER < 0x0500)
-# define WINVER 0x0500
-# endif
-
-# if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0500)
-# define _WIN32_WINNT 0x0500
-# endif
-
-# define WIN32_LEAN_AND_MEAN
# include <windows.h>
typedef CRITICAL_SECTION cairo_mutex_t;