#ifndef __cplusplus # include <stdatomic.h> #else # include <atomic> # define _Atomic(X) std::atomic< X > #endif int foo(_Atomic(unsigned)* toto);