summaryrefslogtreecommitdiff
path: root/sysutils/nautilus/patches/patch-ac
blob: 07e5bc914a1fbd8fd57fd88e168ff1c9a6992434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.1.1.1 2003/04/27 02:06:56 rh Exp $

--- libnautilus-private/nautilus-thumbnails.c.orig	2003-03-26 00:47:25.000000000 +1000
+++ libnautilus-private/nautilus-thumbnails.c
@@ -155,7 +155,9 @@ thumbnail_thread_starter_cb (gpointer da
 	pthread_attr_init (&thread_attributes);
 	pthread_attr_setdetachstate (&thread_attributes,
 				     PTHREAD_CREATE_DETACHED);
+#ifdef _POSIX_THREAD_ATTR_STACKSIZE
 	pthread_attr_setstacksize (&thread_attributes, 128*1024);
+#endif
 #ifdef DEBUG_THUMBNAILS
 	g_message ("(Main Thread) Creating thumbnails thread\n");
 #endif