mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibC: Allow {AF,PF}_UNIX as well as {AF,PF}_LOCAL
Seems that these are equivilent. POSIX specifies _LOCAL, but a lot of software uses _UNIX.
This commit is contained in:
parent
cf41b0ef17
commit
4dad585609
Notes:
sideshowbarker
2024-07-19 14:06:38 +09:00
Author: https://github.com/rburchell
Commit: 4dad585609
Pull-request: https://github.com/SerenityOS/serenity/pull/45
Reviewed-by: https://github.com/awesomekling
1 changed files with 2 additions and 0 deletions
|
@ -9,8 +9,10 @@ __BEGIN_DECLS
|
||||||
#define AF_MASK 0xff
|
#define AF_MASK 0xff
|
||||||
#define AF_UNSPEC 0
|
#define AF_UNSPEC 0
|
||||||
#define AF_LOCAL 1
|
#define AF_LOCAL 1
|
||||||
|
#define AF_UNIX AF_LOCAL
|
||||||
#define AF_INET 2
|
#define AF_INET 2
|
||||||
#define PF_LOCAL AF_LOCAL
|
#define PF_LOCAL AF_LOCAL
|
||||||
|
#define PF_UNIX PF_LOCAL
|
||||||
#define PF_INET AF_INET
|
#define PF_INET AF_INET
|
||||||
|
|
||||||
#define SOCK_TYPE_MASK 0xff
|
#define SOCK_TYPE_MASK 0xff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue