mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-08 11:02:18 +03:00
okay the code from Norm is really non portable and break everywhere except
* libxslt/extra.c: okay the code from Norm is really non portable and break everywhere except on Sun and Linux platform. Compile it only on those targets. Daniel
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Sat Sep 15 17:32:16 CEST 2001 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* libxslt/extra.c: okay the code from Norm is really non
|
||||||
|
portable and break everywhere except on Sun and Linux
|
||||||
|
platform. Compile it only on those targets.
|
||||||
|
|
||||||
Sat Sep 15 06:25:02 CEST 2001 Thomas Broyer <tbroyer@ltgt.net>
|
Sat Sep 15 06:25:02 CEST 2001 Thomas Broyer <tbroyer@ltgt.net>
|
||||||
|
|
||||||
* libexslt/date.c: fixed some bugs (reported by Charles Bozeman
|
* libexslt/date.c: fixed some bugs (reported by Charles Bozeman
|
||||||
|
|||||||
@@ -146,11 +146,10 @@ xsltFunctionNodeSet(xmlXPathParserContextPtr ctxt, int nargs){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Seems FreeBSD decided not to provide the timezone libc varaible
|
* Okay the following really seems unportable and since it's not
|
||||||
* C.f bug report #59570 http://bugzilla.gnome.org/show_bug.cgi?id=59570
|
* part of any standard I'm not too ashamed to do this
|
||||||
*/
|
*/
|
||||||
#ifndef __FreeBSD__
|
#if defined(linux) || defined(__sun)
|
||||||
|
|
||||||
#if defined(HAVE_MKTIME) && defined(HAVE_LOCALTIME) && defined(HAVE_ASCTIME)
|
#if defined(HAVE_MKTIME) && defined(HAVE_LOCALTIME) && defined(HAVE_ASCTIME)
|
||||||
#define WITH_LOCALTIME
|
#define WITH_LOCALTIME
|
||||||
|
|
||||||
@@ -268,7 +267,7 @@ xsltFunctionLocalTime(xmlXPathParserContextPtr ctxt, int nargs) {
|
|||||||
valuePush(ctxt, xmlXPathNewString((xmlChar *)result));
|
valuePush(ctxt, xmlXPathNewString((xmlChar *)result));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif /* __FreeBSD__ */
|
#endif /* linux or sun */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user