summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 68e20e8..b3289b7 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -103,6 +103,7 @@ rcc_plugin_handle rccPluginGetFreeHandle(rcc_plugin_type type) {
}
rcc_plugin_handle rccPluginLoad(rcc_plugin_type type, const char *name) {
+#ifdef RCC_PLUGINS
void *res;
void *infofunc;
char *pluginfn;
@@ -145,7 +146,8 @@ rcc_plugin_handle rccPluginLoad(rcc_plugin_type type, const char *name) {
default:
return NULL;
}
-
+#endif /* RCC_PLUGINS */
+
return NULL;
}