jconfig16.h

00001 /*
00002  *
00003  *  Copyright (C) 1998-2005, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module: dcmjpeg
00019  *
00020  *  Author: Marco Eichelberg
00021  *
00022  *  Purpose:
00023  *    this file derives the preprocessor symbols required to compile
00024  *    the IJG library from the central DCMTK configuration file osconfig.h
00025  *
00026  *  Last Update:      $Author: meichel $
00027  *  Update Date:      $Date: 2005/12/08 15:47:55 $
00028  *  CVS/RCS Revision: $Revision: 1.4 $
00029  *  Status:           $State: Exp $
00030  *
00031  *  CVS/RCS Log at end of file
00032  *
00033  */
00034 
00035 #include "dcmtk/config/osconfig.h"
00036 
00037 /* We assume ANSI C and don't support DOS, 
00038  * so the following settings need not be tested 
00039  */
00040 #define HAVE_PROTOTYPES 
00041 #define HAVE_UNSIGNED_CHAR 
00042 #define HAVE_UNSIGNED_SHORT 
00043 #undef NEED_FAR_POINTERS
00044 #undef INCOMPLETE_TYPES_BROKEN
00045 
00046 /* the following settings are derived from osconfig.h */
00047 
00048 #ifndef HAVE_C_CONST
00049 #define const
00050 #endif
00051 
00052 #ifdef C_CHAR_UNSIGNED
00053 #define CHAR_IS_UNSIGNED
00054 #endif
00055 
00056 #ifdef HAVE_STRINGS_H
00057 #ifndef HAVE_STRING_H
00058 #define NEED_BSD_STRINGS
00059 #endif
00060 #endif
00061 
00062 #ifdef HAVE_SYS_TYPES_H
00063 #define NEED_SYS_TYPES_H
00064 #endif
00065 
00066 /* must always be defined for our implementation */
00067 #define NEED_SHORT_EXTERNAL_NAMES
00068 
00069 #ifdef JPEG_INTERNALS
00070 
00071 #ifdef C_RIGHTSHIFT_UNSIGNED
00072 #define RIGHT_SHIFT_IS_UNSIGNED
00073 #endif
00074 
00075 #define INLINE C_INLINE
00076 
00077 /* These are for configuring the JPEG memory manager. */
00078 #undef DEFAULT_MAX_MEM
00079 #undef NO_MKTEMP
00080 
00081 /* We don't want to use getenv which is thread unsafe on some platforms */
00082 #define NO_GETENV
00083 
00084 #endif /* JPEG_INTERNALS */
00085 
00086 /*
00087  *  $Log: jconfig16.h,v $
00088  *  Revision 1.4  2005/12/08 15:47:55  meichel
00089  *  Updated Makefiles to correctly install header files
00090  *
00091  *  Revision 1.3  2001/12/18 09:48:53  meichel
00092  *  Modified configure test for "const" support of the C compiler
00093  *    in order to avoid a macro recursion error on Sun CC 2.0.1
00094  *
00095  *  Revision 1.2  2001/11/19 14:55:56  meichel
00096  *  Disabled JPEGMEM environment variable in dcmjpeg IJG code
00097  *    since it is not required and getenv() is thread unsafe on some systems.
00098  *
00099  *  Revision 1.1  2001/11/13 15:57:17  meichel
00100  *  Initial release of module dcmjpeg
00101  *
00102  *
00103  */


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5