Temporarily disable gcc warning on redefinition September 11, 2023 by Tarik Try using #undef: #define FOO "" #if .... #undef FOO #define FOO "Foo, good sir" #endif