mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
scanner: Fix broken private-code generation
Missing a closing bracket. Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
6903e4d539
commit
e501230d1d
1 changed files with 1 additions and 1 deletions
|
|
@ -1748,7 +1748,7 @@ emit_code(struct protocol *protocol, enum visibility vis)
|
|||
"# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */\n"
|
||||
"#endif\n\n");
|
||||
|
||||
printf("#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4\n"
|
||||
printf("#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)\n"
|
||||
"#define WL_PRIVATE __attribute__ ((visibility(\"hidden\")))\n"
|
||||
"#else\n"
|
||||
"#define WL_PRIVATE\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue