blob: ba65d9971ba44a15b1cccddf4a4283a4b4c7df8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ncurses-5.9/form/fty_num.c.bero 2012-10-17 13:07:22.213187425 +0200
+++ ncurses-5.9/form/fty_num.c 2012-10-17 13:44:47.511117338 +0200
@@ -40,7 +40,7 @@ MODULE_ID("$Id: fty_num.c,v 1.28 2010/01
#include <locale.h>
#endif
-#if HAVE_LOCALE_H
+#if HAVE_LOCALE_H && !defined(__BIONIC__)
#define isDecimalPoint(c) ((c) == ((L && L->decimal_point) ? *(L->decimal_point) : '.'))
#else
#define isDecimalPoint(c) ((c) == '.')
@@ -96,7 +96,7 @@ Generic_This_Type(void *arg)
argn->low = args->low;
argn->high = args->high;
-#if HAVE_LOCALE_H
+#if HAVE_LOCALE_H && !defined(__BIONIC__)
argn->L = localeconv();
#else
argn->L = NULL;
|