FreeBSD has a sockaddr_un.sun_len field: fill it
It had this field at latest since "Tue May 24 10:09:53 1994 UTC", according to FreeBSD's svn repo so this isn't a new thing in need of version detection. Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
parent
5114d70be6
commit
6e1e162e39
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ SOCKET_linux=usocket.o
|
|||
SO_freebsd=so
|
||||
O_freebsd=o
|
||||
CC_freebsd=gcc
|
||||
DEF_freebsd=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
|
||||
DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN -DLUA_$(COMPAT)_MODULE \
|
||||
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
||||
-DUNIX_API='__attribute__((visibility("default")))' \
|
||||
-DMIME_API='__attribute__((visibility("default")))'
|
||||
|
|
Loading…
Add table
Reference in a new issue