• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  // Copyright 2014 PDFium Authors. All rights reserved.
2  // Use of this source code is governed by a BSD-style license that can be
3  // found in the LICENSE file.
4  
5  // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6  
7  /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
8  /* see jconfig.doc for explanations */
9  
10  #define HAVE_PROTOTYPES
11  #define HAVE_UNSIGNED_CHAR
12  #define HAVE_UNSIGNED_SHORT
13  /* #define void char */
14  /* #define const */
15  #undef CHAR_IS_UNSIGNED
16  #define HAVE_STDDEF_H
17  #define HAVE_STDLIB_H
18  #undef NEED_BSD_STRINGS
19  #undef NEED_SYS_TYPES_H
20  #undef NEED_FAR_POINTERS	/* we presume a 32-bit flat memory model */
21  #undef NEED_SHORT_EXTERNAL_NAMES
22  #undef INCOMPLETE_TYPES_BROKEN
23  
24  /* Define "boolean" as unsigned char, not int, per Windows custom */
25  #ifndef __RPCNDR_H__		/* don't conflict if rpcndr.h already read */
26  typedef unsigned char boolean;
27  #endif
28  #define HAVE_BOOLEAN		/* prevent jmorecfg.h from redefining it */
29  
30  
31  #ifdef JPEG_INTERNALS
32  
33  #undef RIGHT_SHIFT_IS_UNSIGNED
34  
35  #endif /* JPEG_INTERNALS */
36  
37  #ifdef JPEG_CJPEG_DJPEG
38  
39  #define BMP_SUPPORTED		/* BMP image file format */
40  #define GIF_SUPPORTED		/* GIF image file format */
41  #define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
42  #undef RLE_SUPPORTED		/* Utah RLE image file format */
43  #define TARGA_SUPPORTED		/* Targa image file format */
44  
45  #define TWO_FILE_COMMANDLINE	/* optional */
46  #define USE_SETMODE		/* Microsoft has setmode() */
47  #undef NEED_SIGNAL_CATCHER
48  #undef DONT_USE_B_MODE
49  #undef PROGRESS_REPORT		/* optional */
50  
51  #endif /* JPEG_CJPEG_DJPEG */
52