Use locale.h if not xlocale.h header (#3461)

Otherwise we have a missing definition for locale_t when
RKTIO_USE_XLOCALE but !RKTIO_USE_XLOCALE_HEADER.
This commit is contained in:
Paulo Matos 2020-10-23 23:41:41 +02:00 committed by GitHub
parent 5f74c59ef5
commit 3dc37ee035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@
#ifdef RKTIO_USE_XLOCALE
# ifdef RKTIO_USE_XLOCALE_HEADER
# include <xlocale.h>
# else
# include <locale.h>
# endif
#endif