X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64a044d5a64dd92473b4cc666a6877db78bd37d3..32cdc45397d8c0a24735f84e1dcf83bba1980f2d:/tests/benchmarks/tls.cpp diff --git a/tests/benchmarks/tls.cpp b/tests/benchmarks/tls.cpp index e9c780ed9a..b187566c17 100644 --- a/tests/benchmarks/tls.cpp +++ b/tests/benchmarks/tls.cpp @@ -30,7 +30,7 @@ // 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 #endif @@ -176,7 +176,8 @@ BENCHMARK_FUNC(BoostTLS) 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++ ) {