Skip to content

Add stdatomic fallback for GCC 4.7/4.8

Derek Buitenhuis requested to merge dwbuiten/dav1d:atomicfallback into master

This compiler version is still shipped with the latest version of some distros, like RHEL/CentOS, sadly. This implementation requires on the __atomic functions.

A few points:

  • I'm sure it could be integrated with meson better, but this is my first time poking a meson build system.
  • I've tested it with meson test, and all 64 tests passed when build with this fallback, but who knows how representative this is of the real world.
  • I'm not too thrilled with adding include/compat/gcc, so comments welcome.

Merge request reports

Loading