1
0
mirror of synced 2024-09-24 11:38:26 +02:00

fix: Don't try to compile process memory provider into Web build

This commit is contained in:
WerWolv 2024-06-07 20:32:04 +02:00
parent ea09bfe8ea
commit 6fb32d20b3
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#pragma once
#if !defined(OS_FREEBSD)
#if defined(OS_WINDOWS) || defined(OS_MACOS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
#include <hex/providers/provider.hpp>
#include <hex/api/localization_manager.hpp>

View File

@ -37,7 +37,7 @@ namespace hex::plugin::builtin {
ContentRegistry::Provider::add<MemoryFileProvider>(false);
ContentRegistry::Provider::add<ViewProvider>(false);
#if !defined(OS_FREEBSD)
#if defined(OS_WINDOWS) || defined(OS_MACOS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
ContentRegistry::Provider::add<ProcessMemoryProvider>();
#endif

View File

@ -1,4 +1,4 @@
#if !defined(OS_FREEBSD)
#if defined(OS_WINDOWS) || defined(OS_MACOS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
#include <content/providers/process_memory_provider.hpp>