I VERY strongly disagree with this idea, this is a horrible idea for compatibility between the languages. What are you thinking OP? Do you really hate C software that much? My suggestion is to define <atomic> to include <stdatomics.h> and redefine what you need for C++ there.