Possible Duplicate:
C preprocessor and concatenation
I have the macro
#define BUS B
I want to make macro BUS_PORT
that expands to PORTB
.
I did following:
#define BUS_PORT PORT ## BUS
But BUS_PORT
expands to PORTBUS
. What I did wrong? How to make it right?