|
|
|||
File indexing completed on 2025-12-10 10:23:49
0001 //================================================= -*- mode: c++ -*- ==== 0002 // 0003 // poppler-config.h 0004 // 0005 // Copyright 1996-2011, 2022 Glyph & Cog, LLC 0006 // 0007 //======================================================================== 0008 0009 //======================================================================== 0010 // 0011 // Modified under the Poppler project - http://poppler.freedesktop.org 0012 // 0013 // All changes made under the Poppler project to this file are licensed 0014 // under GPL version 2 or later 0015 // 0016 // Copyright (C) 2014 Bogdan Cristea <cristeab@gmail.com> 0017 // Copyright (C) 2014 Hib Eris <hib@hiberis.nl> 0018 // Copyright (C) 2016 Tor Lillqvist <tml@collabora.com> 0019 // Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com> 0020 // Copyright (C) 2018 Adam Reichold <adam.reichold@t-online.de> 0021 // Copyright (C) 2018 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> 0022 // Copyright (C) 2020 Albert Astals Cid <aacid@kde.org> 0023 // 0024 // To see a description of the changes please see the Changelog file that 0025 // came with your tarball or type make ChangeLog if you are building from git 0026 // 0027 //======================================================================== 0028 0029 #ifndef POPPLER_CONFIG_H 0030 #define POPPLER_CONFIG_H 0031 0032 // We duplicate some of the config.h #define's here since they are 0033 // used in some of the header files we install. The #ifndef/#endif 0034 // around #undef look odd, but it's to silence warnings about 0035 // redefining those symbols. 0036 0037 /* Defines the poppler version. */ 0038 #ifndef POPPLER_VERSION 0039 #define POPPLER_VERSION "23.04.0" 0040 #endif 0041 0042 /* Use single precision arithmetic in the Splash backend */ 0043 #ifndef USE_FLOAT 0044 /* #undef USE_FLOAT */ 0045 #endif 0046 0047 /* Include support for OPI comments. */ 0048 #ifndef OPI_SUPPORT 0049 #define OPI_SUPPORT 1 0050 #endif 0051 0052 /* Enable word list support. */ 0053 #ifndef TEXTOUT_WORD_LIST 0054 #define TEXTOUT_WORD_LIST 1 0055 #endif 0056 0057 /* Support for curl is compiled in. */ 0058 #ifndef POPPLER_HAS_CURL_SUPPORT 0059 /* #undef POPPLER_HAS_CURL_SUPPORT */ 0060 #endif 0061 0062 /* Use libjpeg instead of builtin jpeg decoder. */ 0063 #ifndef ENABLE_LIBJPEG 0064 /* #undef ENABLE_LIBJPEG */ 0065 #endif 0066 0067 /* Build against libtiff. */ 0068 #ifndef ENABLE_LIBTIFF 0069 /* #undef ENABLE_LIBTIFF */ 0070 #endif 0071 0072 /* Build against libpng. */ 0073 #ifndef ENABLE_LIBPNG 0074 #define ENABLE_LIBPNG 1 0075 #endif 0076 0077 /* Use zlib instead of builtin zlib decoder. */ 0078 #ifndef ENABLE_ZLIB 0079 /* #undef ENABLE_ZLIB */ 0080 #endif 0081 0082 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 0083 */ 0084 #ifndef HAVE_DIRENT_H 0085 #define HAVE_DIRENT_H 1 0086 #endif 0087 0088 /* Defines if gettimeofday is available on your system */ 0089 #ifndef HAVE_GETTIMEOFDAY 0090 #define HAVE_GETTIMEOFDAY 1 0091 #endif 0092 0093 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 0094 #ifndef HAVE_NDIR_H 0095 /* #undef HAVE_NDIR_H */ 0096 #endif 0097 0098 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 0099 */ 0100 #ifndef HAVE_SYS_DIR_H 0101 #define HAVE_SYS_DIR_H 1 0102 #endif 0103 0104 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 0105 */ 0106 #ifndef HAVE_SYS_NDIR_H 0107 /* #undef HAVE_SYS_NDIR_H */ 0108 #endif 0109 0110 /* Defines if use cms */ 0111 #ifndef USE_CMS 0112 /* #undef USE_CMS */ 0113 #endif 0114 0115 /* Use header-only classes from Boost in the Splash backend */ 0116 #ifndef USE_BOOST_HEADERS 0117 /* #undef USE_BOOST_HEADERS */ 0118 #endif 0119 0120 //------------------------------------------------------------------------ 0121 // version 0122 //------------------------------------------------------------------------ 0123 0124 // copyright notice 0125 #define popplerCopyright "Copyright 2005-2023 The Poppler Developers - http://poppler.freedesktop.org" 0126 #define xpdfCopyright "Copyright 1996-2011, 2022 Glyph & Cog, LLC" 0127 0128 //------------------------------------------------------------------------ 0129 // Win32 stuff 0130 //------------------------------------------------------------------------ 0131 0132 #if defined(_WIN32) && !defined(_MSC_VER) 0133 #include <windef.h> 0134 #else 0135 #define CDECL 0136 #endif 0137 0138 //------------------------------------------------------------------------ 0139 // Compiler 0140 //------------------------------------------------------------------------ 0141 0142 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) 0143 #include <cstdio> // __MINGW_PRINTF_FORMAT is defined in the mingw stdio.h 0144 #ifdef __MINGW_PRINTF_FORMAT 0145 #define GCC_PRINTF_FORMAT(fmt_index, va_index) \ 0146 __attribute__((__format__(__MINGW_PRINTF_FORMAT, fmt_index, va_index))) 0147 #else 0148 #define GCC_PRINTF_FORMAT(fmt_index, va_index) \ 0149 __attribute__((__format__(__printf__, fmt_index, va_index))) 0150 #endif 0151 #else 0152 #define GCC_PRINTF_FORMAT(fmt_index, va_index) 0153 #endif 0154 0155 #endif /* POPPLER_CONFIG_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|