OFFIS DCMTK  Version 3.6.0
jconfig8.h
1 /*
2  *
3  * Copyright (C) 1998-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmjpeg
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose:
19  * this file derives the preprocessor symbols required to compile
20  * the IJG library from the central DCMTK configuration file osconfig.h
21  *
22  * Last Update: $Author: joergr $
23  * Update Date: $Date: 2010-10-14 13:19:15 $
24  * CVS/RCS Revision: $Revision: 1.5 $
25  * Status: $State: Exp $
26  *
27  * CVS/RCS Log at end of file
28  *
29  */
30 
31 #include "dcmtk/config/osconfig.h"
32 
33 /* We assume ANSI C and don't support DOS,
34  * so the following settings need not be tested
35  */
36 #define HAVE_PROTOTYPES
37 #define HAVE_UNSIGNED_CHAR
38 #define HAVE_UNSIGNED_SHORT
39 #undef NEED_FAR_POINTERS
40 #undef INCOMPLETE_TYPES_BROKEN
41 
42 /* the following settings are derived from osconfig.h */
43 
44 #ifndef HAVE_C_CONST
45 #define const
46 #endif
47 
48 #ifdef C_CHAR_UNSIGNED
49 #define CHAR_IS_UNSIGNED
50 #endif
51 
52 #ifdef HAVE_STRINGS_H
53 #ifndef HAVE_STRING_H
54 #define NEED_BSD_STRINGS
55 #endif
56 #endif
57 
58 #ifdef HAVE_SYS_TYPES_H
59 #define NEED_SYS_TYPES_H
60 #endif
61 
62 /* must always be defined for our implementation */
63 #define NEED_SHORT_EXTERNAL_NAMES
64 
65 #ifdef JPEG_INTERNALS
66 
67 #ifdef C_RIGHTSHIFT_UNSIGNED
68 #define RIGHT_SHIFT_IS_UNSIGNED
69 #endif
70 
71 #define INLINE C_INLINE
72 
73 /* These are for configuring the JPEG memory manager. */
74 #undef DEFAULT_MAX_MEM
75 #undef NO_MKTEMP
76 
77 /* We don't want to use getenv which is thread unsafe on some platforms */
78 #define NO_GETENV
79 
80 #endif /* JPEG_INTERNALS */
81 
82 /*
83  * $Log: jconfig8.h,v $
84  * Revision 1.5 2010-10-14 13:19:15 joergr
85  * Updated copyright header. Added reference to COPYRIGHT file.
86  *
87  * Revision 1.4 2005-12-08 15:47:55 meichel
88  * Updated Makefiles to correctly install header files
89  *
90  * Revision 1.3 2001/12/18 09:48:54 meichel
91  * Modified configure test for "const" support of the C compiler
92  * in order to avoid a macro recursion error on Sun CC 2.0.1
93  *
94  * Revision 1.2 2001/11/19 14:55:53 meichel
95  * Disabled JPEGMEM environment variable in dcmjpeg IJG code
96  * since it is not required and getenv() is thread unsafe on some systems.
97  *
98  * Revision 1.1 2001/11/13 15:57:55 meichel
99  * Initial release of module dcmjpeg
100  *
101  *
102  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2