2015-06-13 01:03:31 +02:00
|
|
|
Include <xlocale.h> from langinfo.h so that locale_t gets defined.
|
|
|
|
|
2016-03-16 22:38:49 +01:00
|
|
|
Include <locale.h> from langinfo.h so that LC_ALL gets defined.
|
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
diff -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h ./include/langinfo.h
|
2016-03-12 23:51:55 +01:00
|
|
|
--- /home/fornwall/lib/android-ndk/sources/android/support/include/langinfo.h 2016-03-03 16:54:04.000000000 -0500
|
|
|
|
+++ ./include/langinfo.h 2016-03-12 17:23:01.187197445 -0500
|
2016-03-16 22:38:49 +01:00
|
|
|
@@ -31,6 +31,8 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
// __LP64__
|
|
|
|
|
|
|
|
#include <nl_types.h>
|
|
|
|
+#include <xlocale.h>
|
2016-03-16 22:38:49 +01:00
|
|
|
+#include <locale.h>
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
#define _NL_ITEM(category,index) (((category) << 10) | (index))
|
|
|
|
|
2016-03-12 23:51:55 +01:00
|
|
|
@@ -111,10 +112,8 @@
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#if !defined(__LP64__)
|
|
|
|
char *nl_langinfo(nl_item);
|
|
|
|
char *nl_langinfo_l(nl_item, locale_t);
|
|
|
|
-#endif // !__LP64__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|