That's an invalid preprocessing directive. :-)
First comment it out and try to compile.
If it complains that PORTD is undefined somewhere else then change it to #define and look for other #defines, like PORTC, to see what exactly is supposed to be there.