From: Mike Nordell (tamlin@algonet.se)
Date: Tue Dec 03 2002 - 22:15:12 EST
Christian Biesinger wrote:
> Mike Nordell wrote:
> > #ifdef truncate
> > #undef truncate
> > #endif
>
> I believe that this:
> #undef truncate
> is functionally completely identical to your lines, even if truncate is
> not defined.
Functionally equivalent, though the latter version could introduce a
compiler warning. I don't know about e.g. GCC, but at least MSVC would
indeed complain about it.
Besides, it's a logical error to try to undef something that isn't defined
in the first place.
/Mike
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 22:27:38 EST