2 |
- |
1 |
/* Copyright (C) 1994, 1998 Aladdin Enterprises. All rights reserved.
|
|
|
2 |
|
|
|
3 |
This software is provided AS-IS with no warranty, either express or
|
|
|
4 |
implied.
|
|
|
5 |
|
|
|
6 |
This software is distributed under license and may not be copied,
|
|
|
7 |
modified or distributed except as expressly authorized under the terms
|
|
|
8 |
of the license contained in the file LICENSE in this distribution.
|
|
|
9 |
|
|
|
10 |
For more information about licensing, please refer to
|
|
|
11 |
http://www.ghostscript.com/licensing/. For information on
|
|
|
12 |
commercial licensing, go to http://www.artifex.com/licensing/ or
|
|
|
13 |
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
|
|
|
14 |
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
/* $Id: gsjconf.h,v 1.4 2002/02/21 22:24:52 giles Exp $ */
|
|
|
18 |
/* jconfig.h file for Independent JPEG Group code */
|
|
|
19 |
|
|
|
20 |
#ifndef gsjconf_INCLUDED
|
|
|
21 |
# define gsjconf_INCLUDED
|
|
|
22 |
|
|
|
23 |
/*
|
|
|
24 |
* We should have the following here:
|
|
|
25 |
|
|
|
26 |
#include "stdpre.h"
|
|
|
27 |
|
|
|
28 |
* But because of the directory structure used to build the IJG library, we
|
|
|
29 |
* actually concatenate stdpre.h on the front of this file instead to
|
|
|
30 |
* construct the jconfig.h file used for the compilation.
|
|
|
31 |
*/
|
|
|
32 |
|
|
|
33 |
#include "arch.h"
|
|
|
34 |
|
|
|
35 |
/* See IJG's jconfig.doc for the contents of this file. */
|
|
|
36 |
|
|
|
37 |
#ifdef __PROTOTYPES__
|
|
|
38 |
# define HAVE_PROTOTYPES
|
|
|
39 |
#endif
|
|
|
40 |
|
|
|
41 |
#define HAVE_UNSIGNED_CHAR
|
|
|
42 |
#define HAVE_UNSIGNED_SHORT
|
|
|
43 |
#undef CHAR_IS_UNSIGNED
|
|
|
44 |
|
|
|
45 |
#ifdef __STDC__ /* is this right? */
|
|
|
46 |
# define HAVE_STDDEF_H
|
|
|
47 |
# define HAVE_STDLIB_H
|
|
|
48 |
#endif
|
|
|
49 |
|
|
|
50 |
#undef NEED_BSD_STRINGS /* WRONG */
|
|
|
51 |
#undef NEED_SYS_TYPES_H /* WRONG */
|
|
|
52 |
#undef NEED_FAR_POINTERS
|
|
|
53 |
#undef NEED_SHORT_EXTERNAL_NAMES
|
|
|
54 |
|
|
|
55 |
#undef INCOMPLETE_TYPES_BROKEN
|
|
|
56 |
|
|
|
57 |
/* The following is documented in jmemsys.h, not jconfig.doc. */
|
|
|
58 |
#if ARCH_SIZEOF_INT <= 2
|
|
|
59 |
# undef MAX_ALLOC_CHUNK
|
|
|
60 |
# define MAX_ALLOC_CHUNK 0xfff0
|
|
|
61 |
#endif
|
|
|
62 |
|
|
|
63 |
#ifdef JPEG_INTERNALS
|
|
|
64 |
|
|
|
65 |
#if ARCH_ARITH_RSHIFT == 0
|
|
|
66 |
# define RIGHT_SHIFT_IS_UNSIGNED
|
|
|
67 |
#else
|
|
|
68 |
# undef RIGHT_SHIFT_IS_UNSIGNED
|
|
|
69 |
#endif
|
|
|
70 |
|
|
|
71 |
#endif /* JPEG_INTERNALS */
|
|
|
72 |
|
|
|
73 |
#endif /* gsjconf_INCLUDED */
|