Skip to content

util: use __has_include to check for locale.h

peos3 requested to merge peos3/libinput:master into master

Using Fedora 29 fully updated HAVE_LOCALE_H does not seem to be defined.
To check for the locale.h header it is possible to use __has_include with clang or gcc (ver 5.x or above).

Edited by peos3

Merge request reports