Changeset: 144c1d89474b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/144c1d89474b
Modified Files:
        gdk/gdk_system.c
Branch: default
Log Message:

Incompatibility between mac and linux.


diffs (16 lines):

diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -699,7 +699,11 @@ thread_starter(void *arg)
        /* name can be at most 16 chars including \0 */
        char *name = GDKstrndup(self->threadname, 15);
        if (name != NULL) {
-               pthread_setname_np(pthread_self(), name);
+               pthread_setname_np(
+#ifdef __USE_GNU
+                       pthread_self(),
+#endif
+                       name);
                GDKfree(name);
        }
 #endif
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to