[ROOT] #define macro for ACLIC?

From: Ruben Shahoian (Ruben.Shahoyan@cern.ch)
Date: Wed Sep 24 2003 - 14:05:35 MEST


Hello,
is there a way to #define MACRO 
for the whole root session, so that ACLIC sees it? Since I need it to 
bypass some machine dependent behaviour, I would prefer to have it defined
for any macro compiled, and not to put it explicitly in each macro.
Doing in the beginning of the session 
.{#define MYMACRO}
leads to "MYMACRO is not defined" for the code below

void tst() {
#ifdef MYMACRO
  printf("MYMACRO is defined\n");
#else
  printf("MYMACRO is not defined\n");
#endif
  //
}
 

Regards,
	Ruben
-- 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET