diff options
author | Qrius <[email protected]> | 2025-01-03 07:48:00 +0100 |
---|---|---|
committer | Qrius <[email protected]> | 2025-01-03 07:48:00 +0100 |
commit | 47f1189a4a00ff81187f2266de90a6663dd79e26 (patch) | |
tree | 6f4c3011fae06eb8cedfdb87bd3134e2f1818680 /src/macro_processor/macro_processor.rs | |
parent | 2eedcdb983b9b62b497f26ea32714e84cda8e763 (diff) | |
download | skaldpress-47f1189a4a00ff81187f2266de90a6663dd79e26.tar.gz skaldpress-47f1189a4a00ff81187f2266de90a6663dd79e26.zip |
Make smp buildable without guile
Diffstat (limited to 'src/macro_processor/macro_processor.rs')
-rw-r--r-- | src/macro_processor/macro_processor.rs | 2 |
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); |