mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-08-29 23:32:02 +02:00
src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD builds
This commit is contained in:
@@ -181,7 +181,7 @@ SOCKET_linux=usocket.o
|
||||
SO_freebsd=so
|
||||
O_freebsd=o
|
||||
CC_freebsd=gcc
|
||||
DEF_freebsd=-DLUASOCKET_$(DEBUG) \
|
||||
DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN \
|
||||
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
||||
-DUNIX_API='__attribute__((visibility("default")))' \
|
||||
-DMIME_API='__attribute__((visibility("default")))'
|
||||
|
Reference in New Issue
Block a user