diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2019-02-19 13:26:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 13:26:18 -0300 |
commit | 57e04f55dcf4435a9ac63e8b514ec9026b76a63a (patch) | |
tree | 4a116c238d7b7806a47b306818ec7589a2812b95 | |
parent | 288219fd6b53ce2e709745c9918aa4c4b7f715c9 (diff) | |
parent | d1e35c9573c0a6055a22072aed23c478151be133 (diff) | |
download | luasocket-57e04f55dcf4435a9ac63e8b514ec9026b76a63a.tar.gz luasocket-57e04f55dcf4435a9ac63e8b514ec9026b76a63a.tar.bz2 luasocket-57e04f55dcf4435a9ac63e8b514ec9026b76a63a.zip |
Merge pull request #263 from ewestbrook/freebsd-has-sun-len
src/makefile: enable UNIX_HAS_SUN_LEN for FreeBSD builds
-rw-r--r-- | src/makefile | 4 |
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 | |||
181 | SO_freebsd=so | 181 | SO_freebsd=so |
182 | O_freebsd=o | 182 | O_freebsd=o |
183 | CC_freebsd=gcc | 183 | CC_freebsd=gcc |
184 | DEF_freebsd=-DLUASOCKET_$(DEBUG) \ | 184 | DEF_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 | ||
361 | mingw: | 361 | mingw: |
362 | $(MAKE) all PLAT=mingw | 362 | $(MAKE) all PLAT=mingw |
363 | 363 | ||
364 | solaris: | 364 | solaris: |
365 | $(MAKE) all-unix PLAT=solaris | 365 | $(MAKE) all-unix PLAT=solaris |
366 | 366 | ||