]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Prefer __CYGWIN__ over CYGWIN definition 2632/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 24 May 2025 09:37:26 +0000 (11:37 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 24 May 2025 09:37:26 +0000 (11:37 +0200)
commit612223356eed3108a7444b2cbb82402de7a29e02
tree6149e46a95bfdfc6e4e3a32b0ab4bc7a7382d4ff
parent0ed4435209b9b694cc190d937e4709a0609580e6
Prefer __CYGWIN__ over CYGWIN definition

The cygwin FAQ states that __CYGWIN__ is defined when building for a
Cygwin environment. Only a few test files check (inconsistently) for
CYGWIN, so adjust them to the recommended __CYGWIN__ definition.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
cpio/test/test_format_newc.c
cpio/test/test_option_a.c
libarchive/test/test_entry.c
libarchive/test/test_read_disk_directory_traversals.c
libarchive/test/test_read_format_rar5.c
tar/test/test_option_C_mtree.c