diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-09-12 23:12:52 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-09-12 23:12:52 +0100 |
commit | 5ea442d5b8d0b9101737c7c4b7ff7cb89a1f7821 (patch) | |
tree | ea2cd7766ff0ba9170cd09909b7a1a6b73916d88 | |
parent | 5d0ea0d04b694ab1e5e83009bcb8a493e1f9a341 (diff) |
Make some older compilers happy by specifying -D_BSD_SOURCE and -std=gnu99.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | TODO | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -1,4 +1,4 @@ CC=gcc blabouncer: blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c - $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c + $(CC) -D_DEFAULT_SOURCE -D_BSD_SOURCE -std=gnu99 -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c @@ -10,6 +10,4 @@ Ensure replayed lines don't exceed IRC message maximum length due to inserted ti Is there a way to log nick changes to the normal log despite not tracking nicks in each channel? (We do track channel names themselves.) -Doesn't compile on old GCC - maybe set -std=gnu99. - Log QUIT messages in channels if the quitting user was in them - requires tracking users in channels. |