[xslt] xsltlocale compilation issue



The libxslt library is building fine, but I ran into issues trying to build PHP with the lib. I don't think the tests for determining the type of xsltLocale are correct.
Note that this all does build and link correctly under windows.

It errors out when hitting line 24 in xsltlocale.h:
typedef locale_t xsltLocale;

In order to get that defined though in /usr/include/locale.h in order to get locale_t defined I need __USE_GNU defined, which it is not during the PHP compile.
It does compile fine though if I use typedef __locale_t xsltLocale



Rob


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]