mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-06 23:49:25 +03:00
applied albert portability patch applied Igor patch for Windows Daniel
* configure.in: applied albert portability patch * libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c libxslt/xsltwin32config.h.in win32/dsp/libxslt.def: applied Igor patch for Windows Daniel
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Thu Dec 20 14:49:39 CET 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* configure.in: applied albert portability patch
|
||||
* libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in
|
||||
libxslt/xsltutils.c libxslt/xsltwin32config.h.in win32/dsp/libxslt.def:
|
||||
applied Igor patch for Windows
|
||||
|
||||
Tue Dec 11 15:27:15 CET 2001 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxslt/xsltutils.c: fixed a problem with the debuuger interface.
|
||||
|
||||
@@ -268,11 +268,11 @@ AC_SUBST(LDFLAGS)
|
||||
# try to check if there is already an installed shared lib of the same level
|
||||
#
|
||||
INSTALLED_XSLT_LIB=""
|
||||
if test -e $prefix
|
||||
if test -d $prefix
|
||||
then
|
||||
shared_xslt_lib="$prefix/lib/libxslt.so.$LIBXSLT_MAJOR_VERSION"
|
||||
shared_xslt_la="$prefix/lib/libxslt.la"
|
||||
if test -e $shared_xslt_lib -a -e $shared_xslt_la
|
||||
if test -f $shared_xslt_lib -a -f $shared_xslt_la
|
||||
then
|
||||
INSTALLED_XSLT_LIB="-L$libdir -lxslt"
|
||||
fi
|
||||
|
||||
@@ -21,8 +21,13 @@
|
||||
#include "xsltconfig.h"
|
||||
#include <libxml/xmlversion.h>
|
||||
#endif
|
||||
#ifndef LIBXSLT_PUBLIC
|
||||
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* ! __XSLT_LIBXSLT_H__ */
|
||||
|
||||
@@ -48,9 +48,13 @@ extern "C" {
|
||||
*
|
||||
* Macro used on Windows to tag public identifiers from shared libraries
|
||||
*/
|
||||
#ifndef LIBXSLT_PUBLIC
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* xsltMaxDepth:
|
||||
|
||||
@@ -97,9 +97,13 @@ extern "C" {
|
||||
*
|
||||
* This macro is used to declare PUBLIC variables for MSC on Windows
|
||||
*/
|
||||
#if !defined(WIN32) || defined(__CYGWIN__)
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
#define gettimeofday(p1,p2)
|
||||
#define HAVE_GETTIMEOFDAY
|
||||
#define XSLT_WIN32_PERFORMANCE_COUNTER
|
||||
#endif /* _MS_VER */
|
||||
#endif /* WIN32 */
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#ifndef __XML_XSLTWIN32CONFIG_H__
|
||||
#define __XML_XSLTWIN32CONFIG_H__
|
||||
|
||||
#include <win32config.h>
|
||||
#include "win32config.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -187,4 +187,9 @@ EXPORTS
|
||||
xsltSaveProfiling
|
||||
xsltTimestamp
|
||||
xsltCalibrateAdjust
|
||||
xslDebugStatus DATA
|
||||
xsltSetDebuggerCallbacks
|
||||
xslAddCall
|
||||
xslDropCall
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user