File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
- /* This causes compatibility problems on some Linux distros, with "xlocale.h" not being available */
2
- #ifndef __APPLE__
1
+ /*
2
+ * Assume we don't have xlocale.h on non-MacOS, as not all Linux distros have "xlocale.h" available.
3
+ *
4
+ * Note this is required on older MacOS to avoid "unknown type name 'locale_t'"
5
+ */
3
6
#undef LOCALE_T_IN_XLOCALE
7
+ #ifdef __APPLE__
8
+ #define LOCALE_T_IN_XLOCALE 1
4
9
#endif
5
10
#undef WCSTOMBS_L_IN_XLOCALE
6
11
Original file line number Diff line number Diff line change 820
820
821
821
/* Define to how the compiler spells `typeof'. */
822
822
/* #undef typeof */
823
- /* This causes compatibility problems on some Linux distros, with "xlocale.h" not being available */
824
- #ifndef __APPLE__
823
+ /*
824
+ * Assume we don't have xlocale.h on non-MacOS, as not all Linux distros have "xlocale.h" available.
825
+ *
826
+ * Note this is required on older MacOS to avoid "unknown type name 'locale_t'"
827
+ */
825
828
#undef LOCALE_T_IN_XLOCALE
829
+ #ifdef __APPLE__
830
+ #define LOCALE_T_IN_XLOCALE 1
826
831
#endif
827
832
#undef WCSTOMBS_L_IN_XLOCALE
828
833
You can’t perform that action at this time.
0 commit comments