svn commit: r234011 - head/lib/libgssapi

Stanislav Sedov stas at FreeBSD.org
Sun Apr 8 03:55:26 UTC 2012


Author: stas
Date: Sun Apr  8 03:55:25 2012
New Revision: 234011
URL: http://svn.freebsd.org/changeset/base/234011

Log:
  - Use __NO_TLS preprocessor value to make assumptions about TLS support
    on a platform.

Modified:
  head/lib/libgssapi/gss_display_status.c

Modified: head/lib/libgssapi/gss_display_status.c
==============================================================================
--- head/lib/libgssapi/gss_display_status.c	Sun Apr  8 01:43:41 2012	(r234010)
+++ head/lib/libgssapi/gss_display_status.c	Sun Apr  8 03:55:25 2012	(r234011)
@@ -173,7 +173,7 @@ supplementary_error(OM_uint32 v)
 	return msgs[v];
 }
 
-#if defined(__sparc64__) || defined(__arm__) || defined(__mips__)
+#if defined(__NO_TLS)
 
 /*
  * These platforms don't support TLS on FreeBSD - threads will just


More information about the svn-src-all mailing list