summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-01-03 07:48:00 +0100
committerQrius <[email protected]>2025-01-03 07:48:00 +0100
commit47f1189a4a00ff81187f2266de90a6663dd79e26 (patch)
tree6f4c3011fae06eb8cedfdb87bd3134e2f1818680
parent2eedcdb983b9b62b497f26ea32714e84cda8e763 (diff)
downloadskaldpress-47f1189a4a00ff81187f2266de90a6663dd79e26.tar.gz
skaldpress-47f1189a4a00ff81187f2266de90a6663dd79e26.zip
Make smp buildable without guile
-rw-r--r--src/macro_processor/macro_processor.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macro_processor/macro_processor.rs b/src/macro_processor/macro_processor.rs
index 52fc581..7916148 100644
--- a/src/macro_processor/macro_processor.rs
+++ b/src/macro_processor/macro_processor.rs
@@ -655,6 +655,8 @@ impl MacroProcessor {
smp
}
+ #[cfg(feature = "guile")]
+ /// Define own environment
pub fn defself(&mut self) {
// Find a better way to do this Rc-stuff
let guile = std::rc::Rc::as_ptr(&self.guile);