summaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/core/stdc/assert_.d
diff options
context:
space:
mode:
Diffstat (limited to 'libphobos/libdruntime/core/stdc/assert_.d')
-rw-r--r--libphobos/libdruntime/core/stdc/assert_.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/libphobos/libdruntime/core/stdc/assert_.d b/libphobos/libdruntime/core/stdc/assert_.d
index ca7afe93b1e..e7bdd29984b 100644
--- a/libphobos/libdruntime/core/stdc/assert_.d
+++ b/libphobos/libdruntime/core/stdc/assert_.d
@@ -60,6 +60,15 @@ else version (NetBSD)
*/
void __assert(const(char)* file, int line, const(char)* exp);
}
+else version (OpenBSD)
+{
+ /***
+ * Assert failure function in the NetBSD C library.
+ */
+ void __assert(const(char)* file, int line, const(char)* exp);
+ ///
+ void __assert2(const(char)* file, int line, const(char)* func, const(char)* exp);
+}
else version (DragonFlyBSD)
{
/***