X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c25eaccc991670c9daeecf518a2d6335f45d1a6..cd15bcaf50ead53ccf9d50965312f0dc754affb4:/tests/benchmarks/tls.cpp diff --git a/tests/benchmarks/tls.cpp b/tests/benchmarks/tls.cpp index de6a4c2737..cca9110d8a 100644 --- a/tests/benchmarks/tls.cpp +++ b/tests/benchmarks/tls.cpp @@ -5,7 +5,7 @@ // Created: 2008-07-19 // RCS-ID: $Id$ // Copyright: (c) 2008 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "bench.h" @@ -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++ ) {