// uncomment this to also test Boost version (you will also need to link with
// libboost_threads)
-#define HAVE_BOOST_THREAD
+//#define HAVE_BOOST_THREAD
#ifdef HAVE_BOOST_THREAD
#include <boost/thread/tss.hpp>
#endif
BENCHMARK_FUNC(wxTLS)
{
- static wxTLS_TYPE(int) s_global;
+ static wxTLS_TYPE(int) s_globalVar;
+ #define s_global wxTLS_VALUE(s_globalVar)
for ( int n = 0; n < NUM_ITER; n++ )
{