Skip to content

Commit 8ed94ea

Browse files
committed
Add define that is missing in RHEL 8
1 parent 301d299 commit 8ed94ea

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/tests/file_type_detect_test.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ extern magic_t magic_fast, magic_full;
2121
#define TEST_BASE "."
2222
#endif
2323

24+
// RHEL8 does not have this. Remove when RHEL 8 goes EOL.
25+
#ifndef MAGIC_NO_CHECK_JSON
26+
#define MAGIC_NO_CHECK_JSON 0
27+
#endif
28+
2429
static void expect_extract(const char *label, const char *script,
2530
const char *expected)
2631
{

0 commit comments

Comments
 (0)