src/makefile: remove -DLUASOCKET_INET_PTON as current mingw builds don't want it

This commit is contained in:
E. Westbrook 2020-03-27 18:41:57 -06:00 committed by Eric Westbrook
parent 733af884f1
commit 78a1657c7d

View File

@ -212,7 +212,7 @@ SOCKET_solaris=usocket.o
SO_mingw=dll SO_mingw=dll
O_mingw=o O_mingw=o
CC_mingw=gcc CC_mingw=gcc
DEF_mingw= -DLUASOCKET_INET_PTON -DLUASOCKET_$(DEBUG) \ DEF_mingw= -DLUASOCKET_$(DEBUG) \
-DWINVER=0x0501 -DWINVER=0x0501
CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common
LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o