Define mono_cond_destroy on non-Windows.
authorVincent Povirk <vincent@codeweavers.com>
Fri, 24 Jul 2015 19:03:29 +0000 (14:03 -0500)
committerVincent Povirk <vincent@codeweavers.com>
Fri, 24 Jul 2015 19:06:55 +0000 (14:06 -0500)
This commit is licensed as MIT/X11.

mono/utils/mono-mutex.h

index 8e051abcdbf343b65b6dc97804b24ccc336ec520..78a4f140cff747d7b4ef911d3c3e74988fd90c87 100644 (file)
@@ -114,7 +114,7 @@ typedef pthread_cond_t mono_cond_t;
 #define mono_cond_timedwait(cond,mutex,timeout) pthread_cond_timedwait (cond, mutex, timeout)
 #define mono_cond_signal(cond) pthread_cond_signal (cond)
 #define mono_cond_broadcast(cond) pthread_cond_broadcast (cond)
-#define mono_cond_destroy(cond)
+#define mono_cond_destroy(cond) pthread_cond_destroy (cond)
 
 /*
  * This should be used instead of mono_cond_timedwait, since that function is not implemented on windows.