summaryrefslogtreecommitdiff
path: root/hugin.c
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-02-28 09:43:31 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-02-28 09:43:31 +0100
commit782fe184b558070bca926bdeb38c48ea16578544 (patch)
treeb3eef6db5cd9e80abef9e063620350e4269506f5 /hugin.c
parent50ffa6904a1afbdbaca76cc434f65fd3e800ebdc (diff)
Fix mutex initialisation on win32.
Diffstat (limited to 'hugin.c')
-rw-r--r--hugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hugin.c b/hugin.c
index 2c5bde4..43905eb 100644
--- a/hugin.c
+++ b/hugin.c
@@ -85,7 +85,11 @@ void mutex_unlock(mutex_t *mutex)
#endif
}
+#ifdef WIN32
+#define MUTEX_INIT_VALUE 0
+#else
#define MUTEX_INIT_VALUE {}
+#endif
#else/*WITH_HUG_MUTEX*/