aboutsummaryrefslogtreecommitdiff
path: root/ports/cairo/Initialize-mutexes-for-static-builds-for-win32.patch
blob: 420d91e28df20c6edc5c9cae0d0aff0fa7bb7f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 src/win32/cairo-win32-device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/win32/cairo-win32-device.c b/src/win32/cairo-win32-device.c
index 741e49e..c60c494 100644
--- a/src/win32/cairo-win32-device.c
+++ b/src/win32/cairo-win32-device.c
@@ -131,6 +131,8 @@ _cairo_win32_device_get (void)
 {
     cairo_win32_device_t *device;
 
+    CAIRO_MUTEX_INITIALIZE ();
+
     if (__cairo_win32_device)
 	return cairo_device_reference (__cairo_win32_device);