Skip to content

Commit

Permalink
Enable INET6 by default in helloworld.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfb8856606 committed Sep 2, 2022
1 parent c91bb17 commit 51c91ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LIBS+= -Wl,--no-whole-archive -lrt -lm -ldl -lcrypto -pthread -lnuma

TARGET="helloworld"
all:
cc ${CFLAGS} -o ${TARGET} main.c ${LIBS}
cc ${CFLAGS} -DINET6 -o ${TARGET} main.c ${LIBS}
cc ${CFLAGS} -o ${TARGET}_epoll main_epoll.c ${LIBS}

.PHONY: clean
Expand Down

0 comments on commit 51c91ab

Please sign in to comment.