[cairo-commit] src/cairo-win32-surface.c

Christian Biesinger biesi at kemper.freedesktop.org
Mon Oct 16 08:52:05 PDT 2006


 src/cairo-win32-surface.c |    6 ++++++
 1 files changed, 6 insertions(+)

New commits:
diff-tree 6c9508340620c5981393a3455304e774712ddc83 (from 7d136864382f8b17e6c672892a00d4bb0ea3ed90)
Author: Christian Biesinger <cbiesinger at web.de>
Date:   Mon Oct 16 17:51:41 2006 +0200

    Fix win32 build when pthreads are available
    
    _cairo_win32_initialize always needs a definition.

diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index 839fa37..ef7effb 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -1665,6 +1665,12 @@ DllMain (HINSTANCE hinstDLL,
   return TRUE;
 }
 #endif
+#else
+/* Need a function definition here too since it's called outside of ifdefs */
+void
+_cairo_win32_initialize (void)
+{
+}
 #endif
 
 /* Notes:


More information about the cairo-commit mailing list