Re: #if DEBUG vs #ifdef DEBUG |

Ralph Giles <[email protected]> Thu, 9 Dec 2004 16:36:37 -0800
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
On Thu, Dec 09, 2004 at 06:51:28AM -0800, Ray Johnston wrote:

> The makefiles use DEBUG=0, but this is fed to the C compiler as
> a define with no value using the code in src/msvccmd.mak:
> 
> !if $(DEBUG)!=0
> CD=/DDEBUG
> !else

Ah, that makes sense. Thanks! I couldn't figure out how any of the other 
#ifdefs were working. :-)

 -r