fix: Don't try to compile process memory provider into Web build
This commit is contained in:
parent
ea09bfe8ea
commit
6fb32d20b3
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user