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

Last change on this file since 263 was 263, checked in by Eugene Romanenko, 13 years ago

PDF plugin: Poppler library updated to version 0.10.3

File size: 2.6 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// Also, there's a couple of preprocessor symbols in the header files
44// that are used but never defined: DISABLE_OUTLINE, DEBUG_MEM and
45
46//------------------------------------------------------------------------
47// version
48//------------------------------------------------------------------------
49
50// copyright notice
51#define popplerCopyright "Copyright 2005-2009 The Poppler Developers - http://poppler.freedesktop.org"
52#define xpdfCopyright "Copyright 1996-2004 Glyph & Cog, LLC"
53
54//------------------------------------------------------------------------
55// popen
56//------------------------------------------------------------------------
57
58#if defined(_MSC_VER) || defined(__BORLANDC__)
59#define popen _popen
60#define pclose _pclose
61#endif
62
63#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
64#define POPEN_READ_MODE "rb"
65#else
66#define POPEN_READ_MODE "r"
67#endif
68
69//------------------------------------------------------------------------
70// Win32 stuff
71//------------------------------------------------------------------------
72
73#ifdef CDECL
74/* #undef CDECL */
75#endif
76
77#if defined(_MSC_VER) || defined(__BORLANDC__)
78#define CDECL __cdecl
79#else
80#define CDECL
81#endif
82
83//------------------------------------------------------------------------
84// Compiler
85//------------------------------------------------------------------------
86
87#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
88#define GCC_PRINTF_FORMAT(fmt_index, va_index) \
89        __attribute__((__format__(__printf__, fmt_index, va_index)))
90#else
91#define GCC_PRINTF_FORMAT(fmt_index, va_index)
92#endif
93
94
95#endif /* POPPLER_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.