mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
LibC: A bunch of compat work towards porting GCC.
This commit is contained in:
parent
9fd4f4862b
commit
93c0dfd1d7
18 changed files with 166 additions and 13 deletions
|
@ -46,14 +46,15 @@
|
|||
__ERROR(EADDRINUSE, "Address in use") \
|
||||
__ERROR(EWHYTHO, "Failed without setting an error code (Bug!)") \
|
||||
__ERROR(ENOTEMPTY, "Directory not empty") \
|
||||
__ERROR(EDOM, "Math argument out of domain") \
|
||||
__ERROR(ECONNREFUSED, "Connection refused") \
|
||||
__ERROR(EMAXERRNO, "The highest errno +1 :^)")
|
||||
|
||||
|
||||
enum __errno_values {
|
||||
#undef __ERROR
|
||||
#undef __ENUMERATE_ERROR
|
||||
#define __ERROR(a, b) a,
|
||||
__ENUMERATE_ALL_ERRORS
|
||||
#undef __ERROR
|
||||
#undef __ENUMERATE_ERROR
|
||||
__errno_count
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue