RE: [xslt] exslt in Windows port
- From: "Stephane Bidoul" <stephane bidoul softwareag com>
- To: <stephane bidoul softwareag com>
- Subject: RE: [xslt] exslt in Windows port
- Date: Mon, 14 Apr 2003 17:08:57 +0200
> On Wed, Apr 09, 2003 at 02:48:22PM +0400, Alexey Efimov wrote:
> > Hello,
> >
> > I have the latest release of libxslt at Windows 2000 (from
> > http://zlatkovic.com/projects/libxml/binaries.html) and at HP-UX
> > (built from source). Number of exslt functions in Windows
> port is too
> > small.
>
> Seems some of the EXSLT math module is related to the presence
> of the math.h header file ... If windows has it, HAVE_MATH_H
> should be defined in win32config.h
>
> > Why such difference is present? Am I doing something wrong?
>
> Seems the code need some love for Windows...
Indeed, exsltMathRegister has #if HAVE_MATH_H.
The following patch works for me...
Index: win32config.h
===================================================================
RCS file: /cvs/gnome/libxslt/libxslt/win32config.h,v
retrieving revision 1.8
diff -c -r1.8 win32config.h
*** win32config.h 14 Nov 2002 17:48:57 -0000 1.8
--- win32config.h 12 Apr 2003 15:57:14 -0000
***************
*** 8,13 ****
--- 8,14 ----
#define HAVE_LOCALTIME
#define HAVE_GMTIME
#define HAVE_TIME
+ #define HAVE_MATH_H 1
#define HAVE_FCNTL_H
-sbi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]