diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-30 16:28:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-31 08:25:42 +0000 |
commit | 1fc76c4dfc196798eea24030a205d1e5f7922eb2 (patch) | |
tree | 69c5d10640400628fc7aaa2def731c712ed56b69 /comphelper | |
parent | 2e3a62a1950e068d0136dd508916cd7e8b2963f9 (diff) |
This only wants to check for Windows in general?
Change-Id: I0578e046b8d97b076ca638912740d548453a9a04
Reviewed-on: https://gerrit.libreoffice.org/35916
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/qa/unit/threadpooltest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/unit/threadpooltest.cxx b/comphelper/qa/unit/threadpooltest.cxx index d71a1116897d..bb9aac0e1050 100644 --- a/comphelper/qa/unit/threadpooltest.cxx +++ b/comphelper/qa/unit/threadpooltest.cxx @@ -33,7 +33,7 @@ void ThreadPoolTest::testPreferredConcurrency() { sal_Int32 nExpected = 4; // UTs are capped to 4. CPPUNIT_ASSERT_MESSAGE("Expected no more than 4 threads", nExpected >= nThreads); -#ifndef _WIN32_WINNT +#ifndef _WIN32 // The result should be cached, so this should change anything. nThreads = std::thread::hardware_concurrency() * 2; setenv("MAX_CONCURRENCY", std::to_string(nThreads).c_str(), true); |