mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-05 23:35:48 +03:00
applied Robert Collins patch for Cygwin support Daniel
* Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c libexslt/libexslt.h libexslt/math.c libexslt/saxon.c libexslt/sets.c libexslt/strings.c libxslt/libxslt.h libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c xsltproc/xsltproc.c: applied Robert Collins patch for Cygwin support Daniel
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
||||
Thu Jan 17 10:40:03 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* Makefile.am libexslt/common.c libexslt/date.c libexslt/exslt.c
|
||||
libexslt/exslt.h libexslt/exsltconfig.h.in libexslt/functions.c
|
||||
libexslt/libexslt.h libexslt/math.c libexslt/saxon.c
|
||||
libexslt/sets.c libexslt/strings.c libxslt/libxslt.h
|
||||
libxslt/xslt.h libxslt/xsltconfig.h.in libxslt/xsltutils.c
|
||||
xsltproc/xsltproc.c: applied Robert Collins patch for
|
||||
Cygwin support
|
||||
|
||||
Thu Jan 17 10:34:39 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xsltproc/Makefile.am configure.in: ugly way to keep
|
||||
|
@@ -1,8 +1,8 @@
|
||||
## don't bother compiling the breakpoint library unless it is needed
|
||||
if WITH_DEBUGGER
|
||||
SUBDIRS = \
|
||||
breakpoint \
|
||||
libxslt \
|
||||
breakpoint \
|
||||
libexslt \
|
||||
xsltproc \
|
||||
tests \
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#ifdef WIN32
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -15,10 +15,12 @@
|
||||
* implement "other" date/time extension functions
|
||||
*/
|
||||
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -1,6 +1,8 @@
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#include <libxml/xmlversion.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -18,15 +18,15 @@ LIBEXSLT_PUBLIC extern const int exsltLibxmlVersion;
|
||||
#define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times")
|
||||
#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon")
|
||||
|
||||
void exsltCommonRegister (void);
|
||||
void exsltMathRegister (void);
|
||||
void exsltSetsRegister (void);
|
||||
void exsltFuncRegister (void);
|
||||
void exsltStrRegister (void);
|
||||
void exsltDateRegister (void);
|
||||
void exsltSaxonRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltCommonRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltMathRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltSetsRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltFuncRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltStrRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltDateRegister (void);
|
||||
void LIBEXSLT_PUBLIC exsltSaxonRegister (void);
|
||||
|
||||
void exsltRegisterAll (void);
|
||||
void LIBEXSLT_PUBLIC exsltRegisterAll (void);
|
||||
|
||||
#endif /* __EXSLT_H__ */
|
||||
|
||||
|
@@ -60,7 +60,7 @@ extern "C" {
|
||||
* against this library.
|
||||
*/
|
||||
#if !defined LIBEXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBEXSLT && !defined LIBEXSLT_STATIC
|
||||
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBEXSLT && !defined LIBEXSLT_STATIC
|
||||
#define LIBEXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBEXSLT_PUBLIC
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#include "libxslt/libxslt.h"
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
35
libexslt/libexslt.h
Normal file
35
libexslt/libexslt.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* libexslt.h: internal header only used during the compilation of libexslt
|
||||
*
|
||||
* See COPYRIGHT for the status of this software
|
||||
*
|
||||
* Author: daniel@veillard.com
|
||||
*/
|
||||
|
||||
#ifndef __XSLT_LIBEXSLT_H__
|
||||
#define __XSLT_LIBEXSLT_H__
|
||||
|
||||
#define IN_LIBEXSLT
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include "xsltwin32config.h"
|
||||
#else
|
||||
#include "xsltconfig.h"
|
||||
#include <libxml/xmlversion.h>
|
||||
#endif
|
||||
|
||||
#if !defined LIBEXSLT_PUBLIC
|
||||
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBEXSLT && !defined LIBEXSLT_STATIC
|
||||
#define LIBEXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBEXSLT_PUBLIC
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* ! __XSLT_LIBEXSLT_H__ */
|
@@ -1,4 +1,6 @@
|
||||
#ifdef WIN32
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#ifdef WIN32
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#ifdef WIN32
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
@@ -248,7 +250,7 @@ exsltSetsTrailingFunction (xmlXPathParserContextPtr ctxt, int nargs) {
|
||||
}
|
||||
|
||||
/**
|
||||
* exsltCommonRegister:
|
||||
* exsltSetsRegister:
|
||||
*
|
||||
* Registers the EXSLT - Sets module
|
||||
*/
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#ifdef WIN32
|
||||
#include "libexslt/libexslt.h"
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
|
@@ -9,7 +9,9 @@
|
||||
#ifndef __XSLT_LIBXSLT_H__
|
||||
#define __XSLT_LIBXSLT_H__
|
||||
|
||||
#ifdef WIN32
|
||||
#define IN_LIBXSLT
|
||||
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#include <win32config.h>
|
||||
#else
|
||||
#include "config.h"
|
||||
@@ -23,7 +25,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
|
@@ -49,7 +49,7 @@ extern "C" {
|
||||
* Macro used on Windows to tag public identifiers from shared libraries
|
||||
*/
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
|
@@ -95,10 +95,10 @@ extern "C" {
|
||||
/**
|
||||
* LIBXSLT_PUBLIC:
|
||||
*
|
||||
* This macro is used to declare PUBLIC variables for MSC on Windows
|
||||
* This macro is used to declare PUBLIC variables for Cygwin and for MSC on Windows
|
||||
*/
|
||||
#if !defined LIBXSLT_PUBLIC
|
||||
#if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#if (defined(__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
|
||||
#define LIBXSLT_PUBLIC __declspec(dllimport)
|
||||
#else
|
||||
#define LIBXSLT_PUBLIC
|
||||
|
@@ -35,7 +35,7 @@
|
||||
#include "transform.h"
|
||||
|
||||
/* gettimeofday on Windows ??? */
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#ifdef _MSC_VER
|
||||
#include <winsock2.h>
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
@@ -49,7 +49,7 @@
|
||||
|
||||
#include <libexslt/exsltconfig.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined (__CYGWIN__)
|
||||
#ifdef _MSC_VER
|
||||
#include <winsock2.h>
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
Reference in New Issue
Block a user