Skip to content

Commit 879b9f6

Browse files
committed
Fix fsid_t
1 parent 96c2ca8 commit 879b9f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ystdlib/wrapped_facade_headers/test/test_sys_types.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@ TEST_CASE("test_sys_types_u_quad_t", "[wrapped_facade_headers][sys_types][u_quad
3535

3636
TEST_CASE("test_sys_types_fsid_t", "[wrapped_facade_headers][sys_types][fsid_t]") {
3737
fsid_t const i{{0, 0}};
38+
#if defined(__linux__)
3839
REQUIRE(0 == i.__val[0]);
3940
REQUIRE(0 == i.__val[1]);
41+
#elif defined(__APPLE__)
42+
REQUIRE(0 == i.val[0]);
43+
REQUIRE(0 == i.val[1]);
44+
#endif
4045
}
4146

4247
#if defined(__linux__)

0 commit comments

Comments
 (0)