Debian Codegraph @

libs/xpdf/aconf-w32.h

raw
1 /*
2 * aconf-w32.h
3 *
4 * Copyright 2002-2003 Glyph & Cog, LLC
5 * Copyright 2018 A. Kakuto
6 */
7
8 #ifndef ACONF_H
9 #define ACONF_H
10
11 /*
12 * Use A4 paper size instead of Letter for PostScript output.
13 */
14 #define A4_PAPER 1
15
16 /*
17 * Do not allow text selection.
18 */
19 #undef NO_TEXT_SELECT
20
21 /*
22 * Include support for OPI comments.
23 */
24 #undef OPI_SUPPORT
25
26 /*
27 * Enable multithreading support.
28 */
29 #define MULTITHREADED 1
30
31 /*
32 * Enable C++ exceptions.
33 */
34 #define USE_EXCEPTIONS 1
35
36 /*
37 * Use fixed point (instead of floating point) arithmetic.
38 */
39 #undef USE_FIXEDPOINT
40
41 /*
42 * Directory with the Xpdf app-defaults file.
43 */
44 #undef APPDEFDIR
45
46 /*
47 * Full path for the system-wide xpdfrc file.
48 */
49 #undef SYSTEM_XPDFRC
50
51 /*
52 * Various include files and functions.
53 */
54 #undef HAVE_DIRENT_H
55 #undef HAVE_SYS_NDIR_H
56 #undef HAVE_SYS_DIR_H
57 #undef HAVE_NDIR_H
58 #undef HAVE_SYS_SELECT_H
59 #undef HAVE_SYS_BSDTYPES_H
60 #undef HAVE_STRINGS_H
61 #undef HAVE_BSTRING_H
62 #define HAVE_POPEN 1
63
64 #ifdef __cplusplus
65 extern "C" {
66 #endif
67 #include <kpathsea/config.h>
68 #ifdef __cplusplus
69 }
70 #endif
71
72 #undef index
73
74 #undef HAVE_MKSTEMP
75 #undef HAVE_MKSTEMPS
76 #undef SELECT_TAKES_INT
77 #define HAVE_STD_SORT 1
78 #undef HAVE_FSEEKO
79 #undef HAVE_FSEEK64
80 #define HAVE_FSEEKI64 1
81 #undef _FILE_OFFSET_BITS
82 #undef _LARGE_FILES
83 #undef _LARGEFILE_SOURCE
84 #undef HAVE_XTAPPSETEXITFLAG
85
86 /*
87 * This is defined if using libXpm.
88 */
89 #undef HAVE_X11_XPM_H
90
91 /*
92 * This is defined if using FreeType.
93 */
94 #define HAVE_FREETYPE_H 1
95
96 /*
97 * This is defined if using libpaper.
98 */
99 #undef HAVE_PAPER_H
100
101 /*
102 * Enable support for loading plugins.
103 */
104 #undef ENABLE_PLUGINS
105
106 /*
107 * Defined if the Splash library is avaiable.
108 */
109 #define HAVE_SPLASH 1
110
111 /*
112 * Enable support for CMYK output.
113 */
114 #define SPLASH_CMYK 1
115
116 #ifdef _WIN32
117 #ifdef __cplusplus
118 extern "C" {
119 #endif
120 FILE *fsyscp_fopen (const char *filename, const char *mode);
121 #ifdef __cplusplus
122 }
123 #endif
124 #undef fopen
125 #define fopen fsyscp_fopen
126 #endif /* _WIN32 */
127
128 #endif