Re: [PATCH 03/17] cache-tree.c: avoid reusing the DEBUG constant
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 19, 2019, 11:19 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1906191318570.44@tvgsbejvaqbjf.bet>
- In-Reply-To
- <CAPig+cTXdz6s_cftPydKjtESz986s1xLQvwV8xPzYSR_xLK6Cg@mail.gmail.com>
Hi Eric,
On Tue, 18 Jun 2019, Eric Sunshine wrote:
Show 9 quoted lines
> On Tue, Jun 18, 2019 at 8:24 AM Jeff Hostetler via GitGitGadget > <gitgitgadget@gmail.com> wrote: > > 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.
To me, "macro" always sounds as if it referred to executable code, or at least to something that expands to code.
I went with s/constant/name/ instead.
Thanks, Dscho
> > > Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> >