Skip to content

Commit

Permalink
fix issue creating serial queues on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Nov 10, 2024
1 parent b86aba1 commit ebe5e9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions vstgui/lib/platform/win32/win32taskexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Tasks::Queue Win32TaskExecutor::makeSerialQueue (const char* name) const
impl->serialQueueLock.lock ();
auto serialQueue = std::make_shared<Detail::SerialQueue> (name, impl->nextSerialQueueID++);
impl->serialQueues.emplace_back (serialQueue);
impl->serialQueueLock.unlock ();
return serialQueue->queueID;
}

Expand Down
3 changes: 3 additions & 0 deletions vstgui/tests/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ else()
target_include_directories(${target} PRIVATE ${FREETYPE_INCLUDE_DIRS})
endif()

if(WIN32)
target_compile_options(${target} PRIVATE /bigobj)
endif()
endif(VSTGUI_USE_XCODE_XCTEST)

if(CMAKE_HOST_APPLE)
Expand Down

0 comments on commit ebe5e9b

Please sign in to comment.