Lines 1-91
Link Here
|
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 |
#if defined(_WIN32) && !defined(_MSC_VER) |
74 |
#include <windef.h> |
75 |
#else |
76 |
#define CDECL |
77 |
#endif |
78 |
|
79 |
//------------------------------------------------------------------------ |
80 |
// Compiler |
81 |
//------------------------------------------------------------------------ |
82 |
|
83 |
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) |
84 |
#define GCC_PRINTF_FORMAT(fmt_index, va_index) \ |
85 |
__attribute__((__format__(__printf__, fmt_index, va_index))) |
86 |
#else |
87 |
#define GCC_PRINTF_FORMAT(fmt_index, va_index) |
88 |
#endif |
89 |
|
90 |
|
91 |
#endif /* POPPLER_CONFIG_H */ |