"Fossies" - the Fresh Open Source Software Archive 
Member "xpdf-4.04/xpdf/config.h" (18 Apr 2022, 3128 Bytes) of package /linux/misc/xpdf-4.04.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "config.h" see the
Fossies "Dox" file reference documentation and the latest
Fossies "Diffs" side-by-side code changes report:
4.03_vs_4.04.
1 //========================================================================
2 //
3 // config.h
4 //
5 // Copyright 1996-2022 Glyph & Cog, LLC
6 //
7 //========================================================================
8
9 #ifndef CONFIG_H
10 #define CONFIG_H
11
12 //------------------------------------------------------------------------
13 // version
14 //------------------------------------------------------------------------
15
16 // xpdf version
17 #define xpdfVersion "4.04"
18 #define xpdfVersionNum 4.04
19 #define xpdfMajorVersion 4
20 #define xpdfMinorVersion 4
21 #define xpdfUpdateVersion 0
22 #define xpdfMajorVersionStr "4"
23 #define xpdfMinorVersionStr "4"
24 #define xpdfUpdateVersionStr "0"
25
26 // supported PDF version
27 #define supportedPDFVersionStr "2.0"
28 #define supportedPDFVersionNum 2.0
29
30 // copyright notice
31 #define xpdfCopyright "Copyright 1996-2022 Glyph & Cog, LLC"
32
33 // Windows resource file stuff
34 #define winxpdfVersion "WinXpdf 4.04"
35 #define xpdfCopyrightAmp "Copyright 1996-2022 Glyph && Cog, LLC"
36
37 //------------------------------------------------------------------------
38 // paper size
39 //------------------------------------------------------------------------
40
41 // default paper size (in points) for PostScript output
42 #ifdef A4_PAPER
43 #define defPaperWidth 595 // ISO A4 (210x297 mm)
44 #define defPaperHeight 842
45 #else
46 #define defPaperWidth 612 // American letter (8.5x11")
47 #define defPaperHeight 792
48 #endif
49
50 //------------------------------------------------------------------------
51 // config file (xpdfrc) path
52 //------------------------------------------------------------------------
53
54 // user config file name, relative to the user's home directory
55 #if defined(VMS) || defined(_WIN32)
56 #define xpdfUserConfigFile "xpdfrc"
57 #else
58 #define xpdfUserConfigFile ".xpdfrc"
59 #endif
60
61 // system config file name (set via the configure script)
62 #if defined(_WIN32)
63 // under Windows, we get the directory with the executable and then
64 // append this file name
65 #define xpdfSysConfigFile "xpdfrc"
66 #elif defined(SYSTEM_XPDFRC)
67 #define xpdfSysConfigFile SYSTEM_XPDFRC
68 #else
69 #define xpdfSysConfigFile "/etc/xpdfrc"
70 #endif
71
72 //------------------------------------------------------------------------
73 // X-related constants
74 //------------------------------------------------------------------------
75
76 // default maximum size of color cube to allocate
77 #define defaultRGBCube 5
78
79 //------------------------------------------------------------------------
80 // popen
81 //------------------------------------------------------------------------
82
83 #if defined(_MSC_VER) || defined(__BORLANDC__)
84 #define popen _popen
85 #define pclose _pclose
86 #endif
87
88 #if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(_WIN32) || defined(__DJGPP__)
89 #define POPEN_READ_MODE "rb"
90 #else
91 #define POPEN_READ_MODE "r"
92 #endif
93
94 //------------------------------------------------------------------------
95 // Win32 stuff
96 //------------------------------------------------------------------------
97
98 #ifdef CDECL
99 #undef CDECL
100 #endif
101
102 #if defined(_MSC_VER) || defined(__BORLANDC__)
103 #define CDECL __cdecl
104 #else
105 #define CDECL
106 #endif
107
108 #endif