fix: Compilation on macOS
This commit is contained in:
parent
610f109e2a
commit
d96fc6d41b
@ -10,7 +10,6 @@
|
||||
#include <map>
|
||||
|
||||
#include <hex/helpers/concepts.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/api/keybinding.hpp>
|
||||
|
||||
#include <wolv/io/fs.hpp>
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include <hex/api/content_registry.hpp>
|
||||
|
||||
#include <hex/api/event.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/providers/provider.hpp>
|
||||
|
||||
#include <utility>
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include <hex/api/event.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
static std::string nsurl_to_string(NSURL* url) {
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "init/splash_window.hpp"
|
||||
|
||||
#include <hex/api/imhex_api.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
|
||||
#include <hex/helpers/utils.hpp>
|
||||
#include <hex/helpers/utils_macos.hpp>
|
||||
#include <hex/helpers/fmt.hpp>
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "init/splash_window.hpp"
|
||||
#include "init/tasks.hpp"
|
||||
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/api/project_file_manager.hpp>
|
||||
|
||||
#include <wolv/io/fs.hpp>
|
||||
|
@ -61,8 +61,6 @@ namespace hex::plugin::builtin {
|
||||
wolv::io::File m_file;
|
||||
size_t m_fileSize = 0;
|
||||
|
||||
std::atomic<u32> m_mapCounter = 0;
|
||||
|
||||
std::optional<struct stat> m_fileStats;
|
||||
|
||||
bool m_readable = false, m_writable = false;
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <hex/ui/view.hpp>
|
||||
|
||||
#include <hex/api/content_registry.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
|
||||
#include <bit>
|
||||
#include <cstdio>
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <hex/api/task.hpp>
|
||||
|
||||
#include <hex/ui/view.hpp>
|
||||
#include <ui/widgets.hpp>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <hex.hpp>
|
||||
|
||||
#include <imgui.h>
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/ui/view.hpp>
|
||||
#include <ui/widgets.hpp>
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <wolv/container/interval_tree.hpp>
|
||||
#include <imgui.h>
|
||||
|
||||
namespace hex::plugin::builtin {
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include <hex/api/content_registry.hpp>
|
||||
#include <hex/api/localization.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
|
||||
#include <hex/helpers/disassembler.hpp>
|
||||
#include <hex/helpers/utils.hpp>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "content/providers/view_provider.hpp"
|
||||
|
||||
#include <hex/api/project_file_manager.hpp>
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/helpers/fmt.hpp>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <imgui_internal.h>
|
||||
|
||||
#include <hex/api/task.hpp>
|
||||
#include <hex/helpers/utils.hpp>
|
||||
|
||||
#include <wolv/utils/guards.hpp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user