diff --git a/src/rtapi/rtapi_atomic.h b/src/rtapi/rtapi_atomic.h index 2313556330a..9c89f2d1565 100644 --- a/src/rtapi/rtapi_atomic.h +++ b/src/rtapi/rtapi_atomic.h @@ -18,7 +18,7 @@ #if defined(__GNUC__) && ((__GNUC__ << 8) | __GNUC_MINOR__) >= 0x409 #define RTAPI_USE_STDATOMIC -#elif defined(__STDC_VERSION__) && __STDC_VERSION > 201112L +#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #define RTAPI_USE_STDATOMIC #endif