]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/tls.cpp
Really disable wxAny tests under wxOSX.
[wxWidgets.git] / tests / benchmarks / tls.cpp
index de6a4c2737e3088d974d24f93a7dd17e422f205f..cca9110d8aa69897a21b5b73e375210330d2471b 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     2008-07-19
 // RCS-ID:      $Id$
 // Copyright:   (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
-// 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++ )
     {