build: Add support for unity builds

This commit is contained in:
WerWolv
2023-11-30 10:22:15 +01:00
parent 09904b77eb
commit e370fdb0fc
25 changed files with 77 additions and 79 deletions

View File

@@ -2,8 +2,6 @@
#include <hex/ui/view.hpp>
#include <windows.h>
#include <mutex>
#include <thread>
#include <jthread.hpp>
@@ -27,7 +25,7 @@ namespace hex::plugin::windows {
void transmitData(std::vector<char> &data);
HANDLE m_portHandle = INVALID_HANDLE_VALUE;
void* m_portHandle = reinterpret_cast<void*>(-1);
std::jthread m_receiveThread;
int m_selectedPort = 0;