mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
build: Add support for unity builds
This commit is contained in:
@@ -7,11 +7,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace hex::plugin::builtin {
|
||||
|
||||
class DiskProvider : public hex::prv::Provider {
|
||||
@@ -67,7 +62,7 @@ namespace hex::plugin::builtin {
|
||||
std::string m_friendlyName;
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
HANDLE m_diskHandle = INVALID_HANDLE_VALUE;
|
||||
void *m_diskHandle = reinterpret_cast<void*>(-1);
|
||||
#else
|
||||
std::string m_pathBuffer;
|
||||
int m_diskHandle = -1;
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
#include <hex.hpp>
|
||||
|
||||
#include <hex/ui/view.hpp>
|
||||
|
||||
#include <hex/api/task_manager.hpp>
|
||||
#include <hex/helpers/http_requests.hpp>
|
||||
#include <hex/helpers/fs.hpp>
|
||||
#include <hex/api/task_manager.hpp>
|
||||
|
||||
#include <future>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user