Using PREPROCESSOR to generate macros