summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-09-19 12:41:20 +0000
committerStefan Eßer <se@FreeBSD.org>2021-09-19 12:41:20 +0000
commita60ef1802a36f2f2a5611564191440ea1c1e2f17 (patch)
tree8ec2045a9bf751b60e0615ae80a9d667535e3db5 /include
parent2f57ecae4b98e76e5d675563785a7e6c59c868c4 (diff)
vendor/bc: update to upstream version 5.0.2vendor/bc/5.0.2
Diffstat (limited to 'include')
-rw-r--r--include/status.h4
-rw-r--r--include/vector.h4
-rw-r--r--include/version.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/include/status.h b/include/status.h
index 781248ad4020..662f2b89c04d 100644
--- a/include/status.h
+++ b/include/status.h
@@ -53,6 +53,10 @@
#define DC_ENABLED (1)
#endif // DC_ENABLED
+#ifndef BC_ENABLE_LIBRARY
+#define BC_ENABLE_LIBRARY (0)
+#endif // BC_ENABLE_LIBRARY
+
// This is error checking for fuzz builds.
#if BC_ENABLE_AFL
#ifndef __AFL_HAVE_MANUAL_CONTROL
diff --git a/include/vector.h b/include/vector.h
index 8f7cbbcc2b50..c35d22c9eff7 100644
--- a/include/vector.h
+++ b/include/vector.h
@@ -441,7 +441,7 @@ void bc_slabvec_print(BcVec *v, const char *func);
* contain @a s.
* @param s The source string.
*/
-#define strcpy(d, l, s) strcpy(d, s)
+#define bc_strcpy(d, l, s) strcpy(d, s)
#else // _WIN32
@@ -452,7 +452,7 @@ void bc_slabvec_print(BcVec *v, const char *func);
* contain @a s.
* @param s The source string.
*/
-#define strcpy(d, l, s) strcpy_s(d, l, s)
+#define bc_strcpy(d, l, s) strcpy_s(d, l, s)
#endif // _WIN32
diff --git a/include/version.h b/include/version.h
index 5127c28e2b4a..071b123cccf1 100644
--- a/include/version.h
+++ b/include/version.h
@@ -37,6 +37,6 @@
#define BC_VERSION_H
/// The current version.
-#define VERSION 5.0.0
+#define VERSION 5.0.2
#endif // BC_VERSION_H