Re: ver 4.0 source question
- Posted by bernie Oct 15, 2008
- 1233 views
mattlewis said...
I assume you're asking about the C code.
bernie said...
What is the difference meaning between these two conditions ?
- #if XXXX
- #if define(XXXX)
The first instance requires the the macro be both defined, and evaluate to something other than 0.
bernie said...
What would be the equivalent for this in the above notation ?
- #ifndef XXXX
- ???????????
I think the best analog would be:
#if !XXXXThis requires the macro to evaluate to 0.
Matt
Thanks Matt and etal that is what I needed to know.
PS: Matt: If you do a check-in of any SVN source after ver 1991.
This is where the compile fails; maybe a file is missing.
--------------------------------------------------------- mkdir dosbkobj\back wmake -f makefile.wat .\intobj\main-.c EX="c:\eu1\bin"\exwc.exe EU_TARGE T=int. OBJDIR=intobj DEBUG= MANAGED_MEM=1 Open Watcom Make Version 1.6 Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. c:\eu1\bin\exwc.exe -i ..\include revget.ex cd .\intobj del *.c Could Not Find C:\1205\source\intobj\*.c Error(E42): Last command making (.\intobj\main-.c) returned a bad status Error(E02): Make execution terminated Error(E42): Last command making (interpreter) returned a bad status Error(E02): Make execution terminated Error(E42): Last command making (winall) returned a bad status Error(E02): Make execution terminated Error(E42): Last command making (all) returned a bad status Error(E02): Make execution terminated ---------------------------------------------------------------------