aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE. Westbrook <github@westbrook.io>2019-02-19 04:02:37 -0700
committerE. Westbrook <github@westbrook.io>2019-02-19 04:02:37 -0700
commitd1e35c9573c0a6055a22072aed23c478151be133 (patch)
tree4a116c238d7b7806a47b306818ec7589a2812b95
parent288219fd6b53ce2e709745c9918aa4c4b7f715c9 (diff)
downloadluasocket-d1e35c9573c0a6055a22072aed23c478151be133.tar.gz
luasocket-d1e35c9573c0a6055a22072aed23c478151be133.tar.bz2
luasocket-d1e35c9573c0a6055a22072aed23c478151be133.zip
src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD builds
-rw-r--r--src/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile
index 1ed3f4f..0f4b359 100644
--- a/src/makefile
+++ b/src/makefile
@@ -181,7 +181,7 @@ SOCKET_linux=usocket.o
181SO_freebsd=so 181SO_freebsd=so
182O_freebsd=o 182O_freebsd=o
183CC_freebsd=gcc 183CC_freebsd=gcc
184DEF_freebsd=-DLUASOCKET_$(DEBUG) \ 184DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN \
185 -DLUASOCKET_API='__attribute__((visibility("default")))' \ 185 -DLUASOCKET_API='__attribute__((visibility("default")))' \
186 -DUNIX_API='__attribute__((visibility("default")))' \ 186 -DUNIX_API='__attribute__((visibility("default")))' \
187 -DMIME_API='__attribute__((visibility("default")))' 187 -DMIME_API='__attribute__((visibility("default")))'
@@ -360,7 +360,7 @@ linux:
360 360
361mingw: 361mingw:
362 $(MAKE) all PLAT=mingw 362 $(MAKE) all PLAT=mingw
363 363
364solaris: 364solaris:
365 $(MAKE) all-unix PLAT=solaris 365 $(MAKE) all-unix PLAT=solaris
366 366