Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try to use C11 atomics, which are not const
C11 did not have the const qualifier on atomic_load; C17 does. One can either use C11 atomics by casting away the constness, which was proposed and rejected in phpGH-8764, or one can avoid using C11 atomics altogether, instead using C17 atomics if available, which is what this change does. Fixes phpGH-8881
- Loading branch information