aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/elf-loader.cpp4
-rw-r--r--backends/plugins/elf-provider.cpp4
-rw-r--r--backends/plugins/elf-provider.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/backends/plugins/elf-loader.cpp b/backends/plugins/elf-loader.cpp
index 24532740b4..a3b453ed0f 100644
--- a/backends/plugins/elf-loader.cpp
+++ b/backends/plugins/elf-loader.cpp
@@ -23,7 +23,7 @@
*
*/
-#if defined(DYNAMIC_MODULES) // TODO: && defined ELF loader target
+#if defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET)
#include <string.h>
#include <stdarg.h>
@@ -448,5 +448,5 @@ void *DLObject::symbol(const char *name) {
return NULL;
}
-#endif /* DYNAMIC_MODULES */
+#endif /* defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET) */
diff --git a/backends/plugins/elf-provider.cpp b/backends/plugins/elf-provider.cpp
index ae728495fa..76fa3cd6df 100644
--- a/backends/plugins/elf-provider.cpp
+++ b/backends/plugins/elf-provider.cpp
@@ -23,7 +23,7 @@
*
*/
-#if defined(DYNAMIC_MODULES) //TODO: && defined(ELF loader target)
+#if defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET)
#include "backends/plugins/elf-provider.h"
#include "backends/plugins/dynamic-plugin.h"
@@ -133,4 +133,4 @@ bool ELFPluginProvider::isPluginFilename(const Common::FSNode &node) const {
return true;
}
-#endif // defined(DYNAMIC_MODULES)
+#endif // defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET)
diff --git a/backends/plugins/elf-provider.h b/backends/plugins/elf-provider.h
index 10bd1c077f..a6b55d97f3 100644
--- a/backends/plugins/elf-provider.h
+++ b/backends/plugins/elf-provider.h
@@ -28,7 +28,7 @@
#include "base/plugins.h"
-#if defined(DYNAMIC_MODULES) // TODO: && defined(ELF-loader target)
+#if defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET)
class ELFPluginProvider : public FilePluginProvider {
protected:
@@ -38,6 +38,6 @@ protected:
};
-#endif // defined(DYNAMIC_MODULES)
+#endif // defined(DYNAMIC_MODULES) && defined(ELF_LOADER_TARGET)
#endif /* BACKENDS_PLUGINS_ELF_PROVIDER_H */