summaryrefslogblamecommitdiff
path: root/user/wxwidgets/disable-xlocale.patch
blob: 0b8aa47f9dce85db3bd63f7694f3745928052a00 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                   
--- wxWidgets-3.1.2/include/wx/features.h.old	2018-12-09 15:40:08.000000000 +0000
+++ wxWidgets-3.1.2/include/wx/features.h	2019-02-24 21:33:30.250000000 +0000
@@ -76,8 +76,8 @@
 /* This is defined when the compiler provides some type of extended locale
    functions.  Otherwise, we implement them ourselves to only support the
    'C' locale */
-#if defined(HAVE_LOCALE_T) || \
-    (wxCHECK_VISUALC_VERSION(8))
+#if (!defined(__linux__) || defined(__GLIBC__)) && (defined(HAVE_LOCALE_T) || \
+    (wxCHECK_VISUALC_VERSION(8)))
     #define wxHAS_XLOCALE_SUPPORT
 #else
     #undef wxHAS_XLOCALE_SUPPORT