* tools/threadlibs.c [GC_FREEBSD_THREADS && (__DragonFly__
|| !__FREEBSD_version)] (main): Print "-lpthread" (as well as for
__FREEBSD_version >= 500000).
# ifdef GC_USE_DLOPEN_WRAP
printf("-ldl ");
# endif
-# if (__FREEBSD_version >= 500000)
- printf("-lpthread\n");
-# else
+# if (__FREEBSD_version < 500000)
printf("-pthread\n");
+# else /* __FREEBSD__ || __DragonFly__ */
+ printf("-lpthread\n");
# endif
# endif
# if defined(GC_NETBSD_THREADS)