Merge branch 'fixes-for-v4.9-rc2' of http://git.agner.ch/git/linux-drm-fsl-dcu into...
[linux-2.6-block.git] / scripts / check-lc_ctype.c
CommitLineData
b479bfd0
BH
1/*
2 * Check that a specified locale works as LC_CTYPE. Used by the
3 * DocBook build system to probe for C.UTF-8 support.
4 */
5
6#include <locale.h>
7
8int main(void)
9{
10 return !setlocale(LC_CTYPE, "");
11}