Alfred Agrell (@Alcaro) commented about dlls/winewayland.drv/waylanddrv.h:
/* We only use 4 byte formats. */ #define WINEWAYLAND_BYTES_PER_PIXEL 4
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +#if defined(__STDC_NO_ATOMICS__) +# error C11 Atomic Operations not support. +#else +#include <stdatomic.h> +#include <stdint.h> +#include <unistd.h> +#include <linux/futex.h> +#include <sys/syscall.h> +#define WINEWAYLAND_USE_ATOMIC +#define WINEWAYLAND_RESOURCE_TYPE _Atomic unsigned char
Please name your mutex type something involving mutex, lock, or similar.