Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 7653199

Browse files
authored
Merge pull request #2081 from tethyslab/master-illumos-assert
Solaris: fix assert header file. merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2 parents 9b97359 + 518b264 commit 7653199

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/stdc/assert_.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ else version (CRuntime_Musl)
7575
*/
7676
void __assert_fail(const(char)* exp, const(char)* file, uint line, const(char)* func);
7777
}
78+
else version (Solaris)
79+
{
80+
void __assert_c99(const(char)* exp, const(char)* file, uint line, const(char)* func);
81+
}
7882
else
7983
{
8084
static assert(0);

0 commit comments

Comments
 (0)