1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

LibC: Add definition for ENOTRECOVERABLE

This is used by the LLVM port.
This commit is contained in:
Daniel Bertalan 2021-11-18 22:51:36 +01:00 committed by Brian Gianforcaro
parent b1f6bfca7f
commit 4c0d868bb6
2 changed files with 3 additions and 0 deletions

View file

@ -155,6 +155,8 @@ enum ErrnoCode {
#define EDQUOT EDQUOT #define EDQUOT EDQUOT
EDQUOT, EDQUOT,
#define EDIRINTOSELF EDIRINTOSELF #define EDIRINTOSELF EDIRINTOSELF
ENOTRECOVERABLE,
#define ENOTRECOVERABLE ENOTRECOVERABLE
EMAXERRNO, EMAXERRNO,
#define EMAXERRNO EMAXERRNO #define EMAXERRNO EMAXERRNO
}; };

View file

@ -339,6 +339,7 @@ const char* const sys_errlist[] = {
"Protocol family not supported", "Protocol family not supported",
"Cannot make directory a subdirectory of itself", "Cannot make directory a subdirectory of itself",
"Quota exceeded", "Quota exceeded",
"State not recoverable",
"The highest errno +1 :^)", "The highest errno +1 :^)",
}; };