diff --git a/src/platforms/posix/posixFile.cpp b/src/platforms/posix/posixFile.cpp index e89b9ab2..b371fe73 100644 --- a/src/platforms/posix/posixFile.cpp +++ b/src/platforms/posix/posixFile.cpp @@ -488,7 +488,9 @@ void posixFileSystemFactory::reportError(const vmime::utility::path& path, const case ENOMEM: desc = "ENOMEM: insufficient kernel memory."; break; case EMFILE: desc = "ENFILE: limit on number of files open by the process has been reached."; break; case ENFILE: desc = "ENFILE: limit on number of files open on the system has been reached."; break; +#ifndef AIX case ENOTEMPTY: desc = "ENOTEMPTY: directory is not empty."; break; +#endif default: