diff options
author | Bruno Haible <bruno@clisp.org> | 2021-12-24 18:50:45 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-12-24 18:50:45 +0100 |
commit | da2c4730f60aa5ab96226ff49261d2db5714a9b7 (patch) | |
tree | 5525dafe032bcdeeb393334f095bdbc7e9f2c5b2 /tests | |
parent | a49c5844d75d6076700c5fdb1ff5cbbf6f0fdfc6 (diff) | |
download | gnulib-da2c4730f60aa5ab96226ff49261d2db5714a9b7.tar.gz |
strerrorname_np: Fix compilation error on IRIX.
* lib/strerrorname_np.c (strerrorname_np): Handle conflict between
EDIRCORRUPTED and EFSCORRUPTED.
* tests/test-strerrorname_np.c (main): Likewise.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-strerrorname_np.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-strerrorname_np.c b/tests/test-strerrorname_np.c index e6f57c558b..b765849135 100644 --- a/tests/test-strerrorname_np.c +++ b/tests/test-strerrorname_np.c @@ -466,7 +466,7 @@ main (void) ASSERT (strcmp (strerrorname_np (EDIED), "EDIED") == 0); #endif /* IRIX */ - #if defined EDIRCORRUPTED + #if defined EDIRCORRUPTED && EDIRCORRUPTED != EFSCORRUPTED ASSERT (strcmp (strerrorname_np (EDIRCORRUPTED), "EDIRCORRUPTED") == 0); #endif /* FreeBSD */ |