summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*/