Skip to content

Commit c88cb35

Browse files
committed
Add AF_UNIX on MacOS
1 parent da260f3 commit c88cb35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PosixConstantsDarwin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ static void getConstants(PosixConstants.Registry constants) {
122122
constants.put("AF_UNSPEC", 0);
123123
constants.put("AF_INET", 2);
124124
constants.put("AF_INET6", 30);
125+
constants.put("AF_UNIX", 1);
125126
constants.put("SOCK_DGRAM", 2);
126127
constants.put("SOCK_STREAM", 1);
127128
constants.put("INADDR_ANY", 0x00000000);

0 commit comments

Comments
 (0)