src/3rdparty/patches/libjpeg-6b-config.patch
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 --- jconfig.h.orig	1970-01-01 01:00:00.000000000 +0100
       
     2 +++ jconfig.h	2006-06-15 00:00:00.000000000 +0200
       
     3 @@ -0,0 +1,47 @@
       
     4 +/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
       
     5 +/* see jconfig.doc for explanations */
       
     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 +#if defined(_WIN32)
       
    22 +/* Define "boolean" as unsigned char, not int, per Windows custom */
       
    23 +#ifndef __RPCNDR_H__		/* don't conflict if rpcndr.h already read */
       
    24 +typedef unsigned char boolean;
       
    25 +#endif
       
    26 +#define HAVE_BOOLEAN		/* prevent jmorecfg.h from redefining it */
       
    27 +#endif
       
    28 +
       
    29 +
       
    30 +#ifdef JPEG_INTERNALS
       
    31 +
       
    32 +#undef RIGHT_SHIFT_IS_UNSIGNED
       
    33 +
       
    34 +#endif /* JPEG_INTERNALS */
       
    35 +
       
    36 +#ifdef JPEG_CJPEG_DJPEG
       
    37 +
       
    38 +#define BMP_SUPPORTED		/* BMP image file format */
       
    39 +#define GIF_SUPPORTED		/* GIF image file format */
       
    40 +#define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
       
    41 +#undef RLE_SUPPORTED		/* Utah RLE image file format */
       
    42 +#define TARGA_SUPPORTED		/* Targa image file format */
       
    43 +
       
    44 +#define TWO_FILE_COMMANDLINE	/* optional */
       
    45 +#define USE_SETMODE		/* Microsoft has setmode() */
       
    46 +#undef NEED_SIGNAL_CATCHER
       
    47 +#undef DONT_USE_B_MODE
       
    48 +#undef PROGRESS_REPORT		/* optional */
       
    49 +
       
    50 +#endif /* JPEG_CJPEG_DJPEG */