Changeset: 8aed15162c34 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8aed15162c34
Modified Files:
        gdk/gdk_system.c
Branch: default
Log Message:

Make changeset 5b6c8b7a92ff also compile on Windows.


diffs (21 lines):

diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -450,8 +450,6 @@ pthread_mutex_unlock(pthread_mutex_t *mu
        return ReleaseMutex(*mutex) ? 0 : -1;
 }
 
-#endif
-
 void
 pthread_sema_init(pthread_sema_t *s, int flag, int nresources)
 {
@@ -477,6 +475,8 @@ pthread_sema_down(pthread_sema_t *s)
        WaitForSingleObject(*s, INFINITE);
 }
 
+#endif
+
 #else  /* !defined(HAVE_PTHREAD_H) && defined(_MSC_VER) */
 
 #ifdef HAVE_PTHREAD_SIGMASK
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to