mesa: CLOCK_MONOTONIC_RAW=4 (real Linux value, not alias)
Aliasing CLOCK_MONOTONIC_RAW to CLOCK_MONOTONIC created a duplicate case value in wsi_common_wayland.c (switch has both). Use the real Linux clockid 4 so the value is distinct and the switch compiles.
This commit is contained in:
@@ -96,7 +96,7 @@ cookbook_meson \
|
||||
-Dplatforms=wayland \
|
||||
-Degl-native-platform=surfaceless \
|
||||
-Dshader-cache=disabled \
|
||||
-Dc_args="['-include','alloca.h','-DCLOCK_MONOTONIC_RAW=CLOCK_MONOTONIC','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error','-std=gnu11','-Dstatic_assert=_Static_assert']" \
|
||||
-Dc_args="['-include','alloca.h','-DCLOCK_MONOTONIC_RAW=4','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error','-std=gnu11','-Dstatic_assert=_Static_assert']" \
|
||||
-Dcpp_args="['-include','alloca.h','-Wno-error=implicit-function-declaration','-Wno-error=missing-prototypes','-Wno-error=return-type','-Wno-error=empty-body','-Wno-error=incompatible-pointer-types','-Wno-error=int-conversion','-Wno-error=format','-Wno-error']" \
|
||||
-Dvulkan-drivers=swrast \
|
||||
-Dshared-glapi=enabled
|
||||
|
||||
Reference in New Issue
Block a user