From 511e258e901e5248e1706609ba1099507fd750ae Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 11 Jun 2019 22:54:50 +0100 Subject: Implement configurable auto replay modes. So far there is "none", "time" (auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index caa293d..28c469f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC=gcc DEPS = functions.h sockets.h config.h replay.h logging.h structures.h message.h %.o: %.c $(DEPS) - $(CC) -Wall -Wextra -c -o $@ $< + $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -c -o $@ $< blabouncer: blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o - $(CC) -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o + $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o -- cgit v1.2.3