diff options
| author | Simon Ser <contact@emersion.fr> | 2025-02-23 23:38:15 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-02-23 23:38:15 +0100 |
| commit | dbfa8d784eed0949f3dd50c19a58873b5deb32c6 (patch) | |
| tree | 555bc750eca4df9ad9ff35ab957830f04a77896b /src/wayland-util.c | |
| parent | Forward declarate timespec struct (diff) | |
| download | wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar.gz wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar.bz2 wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar.lz wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar.xz wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.tar.zst wayland-dbfa8d784eed0949f3dd50c19a58873b5deb32c6.zip | |
scanner: use separate guards for validator functions
Generated XXX_is_valid() functions for enums are guarded behind the
same #define as the enum itself. This worked fine until recently,
but since fbd7460737c9 ("scanner: add new enum-header mode") we're
also generating enum-only headers.
When including the enum-only header first, and then the server
header, the validator functions are missing.
Define a separate guard to fix this.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'src/wayland-util.c')
0 files changed, 0 insertions, 0 deletions
