aboutsummaryrefslogtreecommitdiff
path: root/include/vm.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2023-03-03 22:15:06 +0000
committerStefan Eßer <se@FreeBSD.org>2023-03-03 22:15:06 +0000
commit0ff539eb7ca570d65a23a7ad13a91a673d89abcf (patch)
treed22a622e1a23b8541471a7a7531aa2fd9c48f937 /include/vm.h
parent61e1a12bb6c3bfdb0a4e499c88e8eaa2b548e427 (diff)
vendor/bc: import version 6.4.0vendor/bc/6.4.0
This version contains a fix for an issue that can affect complex bc scripts that use multiple read() functions that receive input from an interactive user. The same value could be returned multiple times.
Diffstat (limited to 'include/vm.h')
-rw-r--r--include/vm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vm.h b/include/vm.h
index dd21d43f5260..c56cc8e7370a 100644
--- a/include/vm.h
+++ b/include/vm.h
@@ -560,9 +560,13 @@ typedef struct BcVm
/// The vector for creating strings to pass to the client.
BcVec out;
+#if BC_ENABLE_EXTRA_MATH
+
/// The PRNG.
BcRNG rng;
+#endif // BC_ENABLE_EXTRA_MATH
+
/// The current error.
BclError err;