Skip to content

Commit

Permalink
Fix build when both MUNIT_NO_BUFFER and MUNIT_NO_FORK are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Syeberman committed Jan 21, 2024
1 parent fbbdf14 commit 1911289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion munit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ munit_test_runner_print_color(const MunitTestRunner* runner, const char* string,
fputs(string, MUNIT_OUTPUT_FILE);
}

#if !defined(MUNIT_NO_BUFFER)
#if !defined(MUNIT_NO_BUFFER) || !defined(MUNIT_NO_FORK)
static int
munit_replace_stderr(FILE* stderr_buf) {
if (stderr_buf != NULL) {
Expand Down

0 comments on commit 1911289

Please sign in to comment.