i am defining a list of flags..how would i have a check the version of windows to know if it is necessaray to define the flags?

Code:
#if WindowVersion >= win2000
#define X_TRANSPARENT
#endif
you get the idea, right? how would i do that?

thanks in advance