Unbreak build with older versions of XKB

This commit is contained in:
Campbell Barton
2025-03-26 11:45:13 +11:00
parent 847f0ca0ba
commit 36038df7ec

View File

@@ -319,6 +319,11 @@ enum {
#endif
};
/* Only defined in XKB 1.8x and newer, it seems XKB doesn't provide a version define. */
#ifndef XKB_VMOD_NAME_HYPER
# define XKB_VMOD_NAME_HYPER "Hyper"
#endif
/** \} */
/* -------------------------------------------------------------------- */