can i make a macro return a value ??

something like this..

#define int A_MACRO(X) If (X==1) return 2 \
else return 1;


Thanks in Advance