Skip to content

Commit 51c91ab

Browse files
committed
Enable INET6 by default in helloworld.
1 parent c91bb17 commit 51c91ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LIBS+= -Wl,--no-whole-archive -lrt -lm -ldl -lcrypto -pthread -lnuma
1818

1919
TARGET="helloworld"
2020
all:
21-
cc ${CFLAGS} -o ${TARGET} main.c ${LIBS}
21+
cc ${CFLAGS} -DINET6 -o ${TARGET} main.c ${LIBS}
2222
cc ${CFLAGS} -o ${TARGET}_epoll main_epoll.c ${LIBS}
2323

2424
.PHONY: clean

0 commit comments

Comments
 (0)