dcmjpeg/libijg16/jconfig16.h

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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1