Re: [PATCH 03/17] cache-tree.c: avoid reusing the DEBUG constant
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 18, 2019, 23:14 UTC
- Message-ID
- <CAPig+cTXdz6s_cftPydKjtESz986s1xLQvwV8xPzYSR_xLK6Cg@mail.gmail.com>
- In-Reply-To
- <486297ec8c146e0ed47cd1dd8fe8f6496c2b54c2.1560860634.git.gitgitgadget@gmail.com>
On Tue, Jun 18, 2019 at 8:24 AM Jeff Hostetler via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 5 quoted lines
> In MSVC, the DEBUG constant is set automatically whenever compiling with > debug information. > > This is clearly not what was intended in cache-tree.c, so let's use a less > ambiguous constant there.
s/constant/macro name/ would be clearer.
> Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>