#define UNIX (TConfig.h)

Pasha Murat (murat@cdfsga.fnal.gov)
Wed, 1 Oct 1997 20:13:44 GMT


As many different software systems (including ROOT, software framework
of CDF experiment and others) define UNIX symbol it would be
nice if TConfig.h has conditional

#ifndef UNIX
#define UNIX
#endif

construct instead of unconditional

#define UNIX

- this would allow to avoid having cpp diagnostics like
--------------------------------------------------------------------------------
In file included from /cdf/upgrade/root/v0_00/include/Rtypes.h:18,
from /cdf/upgrade/root/v0_00/include/TObject.h:23,
from /cdf/upgrade/root/v0_00/include/TNamed.h:18,
from /cdf/upgrade/tracking/murat/g3/test/include/evd/CotDisplay.hh:4,
from display_cot.cc:2:
/cdf/upgrade/root/v0_00/include/RConfig.h:55: warning: `UNIX' redefined
*Initialization*:1: warning: this is the location of the previous definition
--------------------------------------------------------------------------------

Regards, Pasha.
--------------------------------------------------------------------------------
Pasha Murat, CDF collaboration, MS 223, PO Box 500, Batavia, IL, 60510
office : B0 trailers 169G,
phone : (630)840-8237
FAX (CDF) : (630)840-2968
E-mail : murat@fnal.gov