autoconf.h: #define LCD_WIDTH 320 config.h: #include "autoconf.h" #define DEFAULT_LCD_WIDTH LCD_WIDTH #define DEFAULT_LCD_HEIGHT LCD_HEIGHT #undef LCD_WIDTH #undef LCD_HEIGHT I want DEFAULT_LCD_WIDTH to come out as 320