Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/xslt/libxslt/libxslt.h
4389 views
1
/*
2
* Summary: internal header only used during the compilation of libxslt
3
* Description: internal header only used during the compilation of libxslt
4
*
5
* Copy: See Copyright for the status of this software.
6
*
7
* Author: Daniel Veillard
8
*/
9
10
#ifndef __XSLT_LIBXSLT_H__
11
#define __XSLT_LIBXSLT_H__
12
13
/*
14
* These macros must be defined before including system headers.
15
* Do not add any #include directives above this block.
16
*/
17
#ifndef NO_LARGEFILE_SOURCE
18
#ifndef _LARGEFILE_SOURCE
19
#define _LARGEFILE_SOURCE
20
#endif
21
#ifndef _FILE_OFFSET_BITS
22
#define _FILE_OFFSET_BITS 64
23
#endif
24
#endif
25
26
#ifdef _WIN32
27
#include <win32config.h>
28
#else
29
#include "config.h"
30
#endif
31
32
#include <libxslt/xsltconfig.h>
33
#include <libxml/xmlversion.h>
34
35
#if !defined LIBXSLT_PUBLIC
36
#if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
37
#define LIBXSLT_PUBLIC __declspec(dllimport)
38
#else
39
#define LIBXSLT_PUBLIC
40
#endif
41
#endif
42
43
#ifdef _WIN32
44
#include <io.h>
45
#include <direct.h>
46
#define mkdir(p,m) _mkdir(p)
47
#endif
48
49
#ifdef __GNUC__
50
#define ATTRIBUTE_UNUSED __attribute__((unused))
51
#else
52
#define ATTRIBUTE_UNUSED
53
#endif
54
55
#endif /* ! __XSLT_LIBXSLT_H__ */
56
57