[cairo-commit] configure.in src/cairo-win32-surface.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sun Apr 15 23:48:21 PDT 2007
configure.in | 1 +
src/cairo-win32-surface.c | 4 ++++
2 files changed, 5 insertions(+)
New commits:
diff-tree 7ff95c7230471be3ffa231ebc71e1d63ba4621b0 (from ca9df759b4eda8f19a92b2e0b1092fa7b618d25b)
Author: Kouhei Sutou <kou at cozmixng.org>
Date: Mon Apr 16 02:48:14 2007 -0400
Support MinGW DLL compilation
diff --git a/configure.in b/configure.in
index 84b919b..79d8d12 100644
--- a/configure.in
+++ b/configure.in
@@ -57,6 +57,7 @@ dnl ====================================
AC_PROG_CC
AC_PROG_CPP
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL dnl required version (1.4) DON'T REMOVE!
AC_STDC_HEADERS
AC_C_INLINE
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index a498eac..5d233a5 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -51,6 +51,10 @@
#endif
#include <windows.h>
+#if defined(__MINGW32__) && !defined(ETO_PDY)
+# define ETO_PDY 0x2000
+#endif
+
#undef DEBUG_COMPOSITE
/* for older SDKs */
More information about the cairo-commit
mailing list