source: trunk/poppler/mypoppler/poppler/poppler-config.h @ 461

Last change on this file since 461 was 461, checked in by Silvan Scherrer, 11 years ago

poppler update to 0.14.2

File size: 2.7 KB
Line 
1/* poppler/poppler-config.h.  Generated from poppler-config.h.in by configure.  */
2//================================================= -*- mode: c++ -*- ====
3//
4// poppler-config.h
5//
6// Copyright 1996-2004 Glyph & Cog, LLC
7//
8//========================================================================
9
10#ifndef POPPLER_CONFIG_H
11#define POPPLER_CONFIG_H
12
13// We duplicate some of the config.h #define's here since they are
14// used in some of the header files we install.  The #ifndef/#endif
15// around #undef look odd, but it's to silence warnings about
16// redefining those symbols.
17
18/* Enable multithreading support. */
19#ifndef MULTITHREADED
20#define MULTITHREADED 1
21#endif
22
23/* Enable exceptions. */
24#ifndef USE_EXCEPTIONS
25/* #undef USE_EXCEPTIONS */
26#endif
27
28/* Use fixedpoint. */
29#ifndef USE_FIXEDPOINT
30/* #undef USE_FIXEDPOINT */
31#endif
32
33/* Include support for OPI comments. */
34#ifndef OPI_SUPPORT
35#define OPI_SUPPORT 1
36#endif
37
38/* Enable word list support. */
39#ifndef TEXTOUT_WORD_LIST
40#define TEXTOUT_WORD_LIST 1
41#endif
42
43/* Use fontconfig font configuration backend */
44#ifndef WITH_FONTCONFIGURATION_FONTCONFIG
45#define WITH_FONTCONFIGURATION_FONTCONFIG 1
46#endif
47
48// Also, there's a couple of preprocessor symbols in the header files
49// that are used but never defined: DISABLE_OUTLINE, DEBUG_MEM and
50
51//------------------------------------------------------------------------
52// version
53//------------------------------------------------------------------------
54
55// copyright notice
56#define popplerCopyright "Copyright 2005-2010 The Poppler Developers - http://poppler.freedesktop.org"
57#define xpdfCopyright "Copyright 1996-2004 Glyph & Cog, LLC"
58
59//------------------------------------------------------------------------
60// popen
61//------------------------------------------------------------------------
62
63#if defined(_MSC_VER) || defined(__BORLANDC__)
64#define popen _popen
65#define pclose _pclose
66#endif
67
68#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(_WIN32) || defined(__DJGPP__) || defined(MACOS)
69#define POPEN_READ_MODE "rb"
70#else
71#define POPEN_READ_MODE "r"
72#endif
73
74//------------------------------------------------------------------------
75// Win32 stuff
76//------------------------------------------------------------------------
77
78#if defined(_WIN32) && !defined(_MSC_VER)
79#include <windef.h>
80#else
81#define CDECL
82#endif
83
84//------------------------------------------------------------------------
85// Compiler
86//------------------------------------------------------------------------
87
88#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
89#define GCC_PRINTF_FORMAT(fmt_index, va_index) \
90        __attribute__((__format__(__printf__, fmt_index, va_index)))
91#else
92#define GCC_PRINTF_FORMAT(fmt_index, va_index)
93#endif
94
95
96#endif /* POPPLER_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.