miniupnpc: Enable -W -Wstrict-prototypes compile flags also for MinGW builds

This commit is contained in:
Pali Rohár 2021-01-27 13:14:33 +01:00
parent c8883e8491
commit b6d8a4545b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ else
RM = rm -f
endif
#CFLAGS = -Wall -g -DDEBUG -D_WIN32_WINNT=0X501
CFLAGS = -Wall -Os -DNDEBUG -D_WIN32_WINNT=0X501
CFLAGS = -Wall -W -Wstrict-prototypes -Os -DNDEBUG -D_WIN32_WINNT=0X501
LDLIBS = -lws2_32 -liphlpapi
# -lwsock32
# -liphlpapi is needed for GetBestRoute() and GetIpAddrTable()