Mercurial > dropbear
diff debug.h @ 1677:e05c0e394f1d
Make DEBUG_NOFORK a #if not #ifdef
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 May 2020 22:58:56 +0800 |
parents | 5916af64acd4 |
children | 3f80da5fe0b4 |
line wrap: on
line diff
--- a/debug.h Tue May 19 00:31:41 2020 +0800 +++ b/debug.h Thu May 21 22:58:56 2020 +0800 @@ -66,7 +66,9 @@ /* To debug with GDB it is easier to run with no forking of child processes. You will need to pass "-F" as well. */ -/* #define DEBUG_NOFORK */ +#ifndef DEBUG_NOFORK +#define DEBUG_NOFORK 0 +#endif /* For testing as non-root on shadowed systems, include the crypt of a password