moved some macros from vc.c to vc.h