comparison mupdf-source/thirdparty/libjpeg/jconfig.vc @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 9x or NT.
2 * This file also works for Borland/Embarcadero C++ for Win32 or Win64
3 * (CLI: bcc32, bcc32c, bcc32x, bcc64; GUI IDE: C++Builder/RAD Studio).
4 * See jconfig.txt for explanations.
5 */
6
7 #define HAVE_PROTOTYPES
8 #define HAVE_UNSIGNED_CHAR
9 #define HAVE_UNSIGNED_SHORT
10 /* #define void char */
11 /* #define const */
12 #undef CHAR_IS_UNSIGNED
13 #define HAVE_STDDEF_H
14 #define HAVE_STDLIB_H
15 #undef NEED_BSD_STRINGS
16 #undef NEED_SYS_TYPES_H
17 #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
18 #undef NEED_SHORT_EXTERNAL_NAMES
19 #undef INCOMPLETE_TYPES_BROKEN
20
21 /* Define "boolean" as unsigned char, not enum, per Windows custom */
22 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
23 typedef unsigned char boolean;
24 #endif
25 #ifndef FALSE /* in case these macros already exist */
26 #define FALSE 0 /* values of boolean */
27 #endif
28 #ifndef TRUE
29 #define TRUE 1
30 #endif
31 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
32
33 /* Define custom RGB color order, prevent jmorecfg.h from redefinition */
34 #undef JPEG_HAVE_RGB_CUSTOM
35 /* Use Windows custom BGR color order defined in jmorecfg.h */
36 #undef JPEG_USE_RGB_CUSTOM
37
38 /* Define custom file I/O functions, prevent jinclude.h from redefinition */
39 #undef JPEG_HAVE_FILE_IO_CUSTOM
40 /* Use Delphi custom file I/O functions defined in jinclude.h */
41 #undef JPEG_USE_FILE_IO_CUSTOM
42
43
44 #ifdef JPEG_INTERNALS
45
46 #undef RIGHT_SHIFT_IS_UNSIGNED
47
48 #endif /* JPEG_INTERNALS */
49
50 #ifdef JPEG_CJPEG_DJPEG
51
52 #define BMP_SUPPORTED /* BMP image file format */
53 #define GIF_SUPPORTED /* GIF image file format */
54 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
55 #undef RLE_SUPPORTED /* Utah RLE image file format */
56 #define TARGA_SUPPORTED /* Targa image file format */
57
58 #define TWO_FILE_COMMANDLINE /* optional */
59 #define USE_SETMODE /* Microsoft/Borland/Embarcadero have setmode() */
60 #undef NEED_SIGNAL_CATCHER
61 #undef DONT_USE_B_MODE
62 #undef PROGRESS_REPORT /* optional */
63
64 #endif /* JPEG_CJPEG_DJPEG */