Revision: 55022
http://brlcad.svn.sourceforge.net/brlcad/?rev=55022&view=rev
Author: brlcad
Date: 2013-04-03 05:54:13 +0000 (Wed, 03 Apr 2013)
Log Message:
-----------
use cmake-set type names
Modified Paths:
--------------
brlcad/trunk/src/libbu/thread.cpp
Modified: brlcad/trunk/src/libbu/thread.cpp
===================================================================
--- brlcad/trunk/src/libbu/thread.cpp 2013-04-03 05:36:21 UTC (rev 55021)
+++ brlcad/trunk/src/libbu/thread.cpp 2013-04-03 05:54:13 UTC (rev 55022)
@@ -27,7 +27,7 @@
#endif
-#ifdef HAVE_PTHREAD_H
+#if defined(HAVE_PTHREAD_H)
template<typename T>
class ThreadLocal
@@ -62,15 +62,15 @@
};
static ThreadLocal<int> thread_cpu;
-#elif defined(__cplusplus) && __cplusplus > 199711L
+#elif defined(HAVE_THREAD_LOCAL_INT)
static thread_local int thread_cpu = 0;
-#elif defined(HAVE___THREAD)
+#elif defined(HAVE___THREAD_INT)
static __thread int thread_cpu = 0;
-#elif defined(_MSC_VER)
+#elif defined(HAVE___DECLSPEC_THREAD__INT)
static __declspec(thread) int thread_cpu;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits