X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c25eaccc991670c9daeecf518a2d6335f45d1a6..3c01c5951189e13b8b4a5d7b288b54d4a57a30f8:/tests/benchmarks/tls.cpp diff --git a/tests/benchmarks/tls.cpp b/tests/benchmarks/tls.cpp index de6a4c2737..b187566c17 100644 --- a/tests/benchmarks/tls.cpp +++ b/tests/benchmarks/tls.cpp @@ -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++ ) {