Skip to content

Commit b09e8f9

Browse files
authored
Merge pull request #23 from erlangpack/22-compilation-warnings
Remove compilation warnings
2 parents 6c54352 + 8bfc5c5 commit b09e8f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

c_src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ifeq ($(UNAME_SYS), Darwin)
2727
DRV_LDFLAGS = -flat_namespace -undefined suppress $(ERL_LDFLAGS)
2828
else ifeq ($(UNAME_SYS), Linux)
2929
CC ?= gcc
30-
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -D_BSD_SOURCE
30+
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -D_DEFAULT_SOURCE
3131
DRV_LDFLAGS = $(ERL_LDFLAGS)
3232
else # FreeBSD
3333
CC ?= cc

0 commit comments

Comments
 (0)