Sen - 2010-05-10

Hi,

I have the following scenario for function like macro in file Test.c

Test.c

#define SUM(A,B,C) ((A) + (B) + (C))

void main ( void )
{
   int  sample_1;
   int  sample_2;
   int  sample_3;

  sample_1 = SUM( 5,
#ifdef SW
                        sample_2,
#else
                        sample_3,
#endif
                        0 );

/* End of File */

The above function-like macro scenario is not succesfully expanded after preprocessing.
Please provide your inputs on this
Thanks in advance and awaiting for your response

regards,
Senche