mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
io: Handle clashing error codes on AIX
Regressed with 2c2578b6f. Fixes #999.
This commit is contained in:
3
xmlIO.c
3
xmlIO.c
@@ -498,7 +498,8 @@ xmlIOErr(int err)
|
||||
#ifdef ENOTDIR
|
||||
case ENOTDIR: code = XML_IO_ENOTDIR; break;
|
||||
#endif
|
||||
#ifdef ENOTEMPTY
|
||||
/* AIX uses the same value for ENOTEMPTY and EEXIST */
|
||||
#if defined(ENOTEMPTY) && ENOTEMPTY != EEXIST
|
||||
case ENOTEMPTY: code = XML_IO_ENOTEMPTY; break;
|
||||
#endif
|
||||
#ifdef ENOTSUP
|
||||
|
||||
Reference in New Issue
Block a user