There was an error while loading. Please reload this page.
2 parents 6c54352 + 8bfc5c5 commit b09e8f9Copy full SHA for b09e8f9
1 file changed
c_src/Makefile
@@ -27,7 +27,7 @@ ifeq ($(UNAME_SYS), Darwin)
27
DRV_LDFLAGS = -flat_namespace -undefined suppress $(ERL_LDFLAGS)
28
else ifeq ($(UNAME_SYS), Linux)
29
CC ?= gcc
30
- CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -D_BSD_SOURCE
+ CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -D_DEFAULT_SOURCE
31
DRV_LDFLAGS = $(ERL_LDFLAGS)
32
else # FreeBSD
33
CC ?= cc
0 commit comments