From 6b66965424ddf04103af7e9832b3d56be03c718d Mon Sep 17 00:00:00 2001 From: Avril Date: Fri, 9 Jul 2021 18:18:31 +0100 Subject: [PATCH] Added "debug build" to usage message when compiled as `debug` target. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for naka's current commit: Future small blessing − 末小吉 --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3e3b70f..1df6c2f 100644 --- a/src/main.c +++ b/src/main.c @@ -14,7 +14,10 @@ void prog_info(FILE* out) { - fprintf(out, PROG_NAME " v%s - " PROG_DESCRIPTION + fprintf(out, PROG_NAME " v%s - " PROG_DESCRIPTION +#ifdef DEBUG + " (debug build)" +#endif "\n written by %s with <3 (compiled at %lu UTC (unix ts))\n license %s.\n", v_ctoss(v_rawtoc(PROG_VERSION)), PROG_AUTHOUR,