_GNU_SOURCE definition for SO_*CRED

This commit is contained in:
Someguynamedpie 2019-03-27 19:09:11 -05:00 committed by GitHub
parent 67c1a1e9d3
commit fb67179add
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ SOCKET_macosx=usocket.o
SO_linux=so
O_linux=o
CC_linux=gcc
DEF_linux=-DLUASOCKET_$(DEBUG)
DEF_linux=-DLUASOCKET_$(DEBUG) -D_GNU_SOURCE
CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
-Wimplicit -O2 -ggdb3 -fpic
LDFLAGS_linux=-O -shared -fpic -o