Defining macros in a resource file