diff options
author | Johannes Schickel | 2010-12-22 15:09:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-12-22 15:09:42 +0000 |
commit | 0134ffd86ef46da8f9311b284ecdd0c5a9fe0957 (patch) | |
tree | 9462c27258a3e62e24bf60e5e825b6514125a737 /backends/plugins/elf/memory-manager.h | |
parent | 48ce90419f48fe1c3e8f3f0336aae3445e850ea9 (diff) | |
download | scummvm-rg350-0134ffd86ef46da8f9311b284ecdd0c5a9fe0957.tar.gz scummvm-rg350-0134ffd86ef46da8f9311b284ecdd0c5a9fe0957.tar.bz2 scummvm-rg350-0134ffd86ef46da8f9311b284ecdd0c5a9fe0957.zip |
PLUGINS: Only enable ELFMemoryManager when dynamic plugins and the ELF loader is enabled.
This should fix compilation on desktop systems, where for example memalign
is not present.
svn-id: r55011
Diffstat (limited to 'backends/plugins/elf/memory-manager.h')
-rw-r--r-- | backends/plugins/elf/memory-manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/plugins/elf/memory-manager.h b/backends/plugins/elf/memory-manager.h index 81f8ea9a3e..c190f5f593 100644 --- a/backends/plugins/elf/memory-manager.h +++ b/backends/plugins/elf/memory-manager.h @@ -26,6 +26,10 @@ #ifndef ELF_MEMORY_MANAGER_H #define ELF_MEMORY_MANAGER_H +#include "common/scummsys.h" + +#if defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) + #include "common/singleton.h" #include "common/list.h" #include "common/mutex.h" @@ -80,4 +84,6 @@ private: uint32 _bytesAllocated; }; +#endif /* defined(DYNAMIC_MODULES) && defined(USE_ELF_LOADER) */ + #endif /* ELF_MEMORY_MANAGER_H */ |