1
/* $Id: ImConfig.h.in,v 1.1 1996/03/25 08:52:16 fredrik Exp fredrik $
3
* The Python Imaging Library.
6
* ImConfig.win -- ImConfig.h template for Windows (from ImConfig.h)
8
* Copyright (c) Fredrik Lundh 1995. All rights reserved.
11
/* -------------------------------------------------------------------- */
13
/* Define if you have the IJG jpeg library (-ljpeg). */
16
/* Define if you have the Greg Ward's mpeg library (-lmpeg). */
19
/* Define if you have the zlib compression library (-lz). */
22
/* -------------------------------------------------------------------- */
24
/* Note: this configuration file was designed for Visual C++ 4.0 and
25
* later. It might need some tweaking to work with other compilers,
26
* including 16-bit environments. */
31
/* VC++ 4.0 is a bit annoying when it comes to precision issues (like
32
claiming that "float a = 0.0;" would lead to loss of precision). I
33
don't like to see warnings from my code, but since I still want to
34
keep it readable, I simply switch off a few warnings instead of adding
35
the tons of casts that VC++ seem to require. This code is compiled
36
with numerous other compilers as well, so any real errors are likely
37
to be catched anyway. */
38
#pragma warning(disable: 4244) /* conversion from 'float' to 'int' */
39
#pragma warning(disable: 4305) /* conversion from 'const int' to 'char' */
41
/* Define to empty if the keyword does not work. */
44
/* Define as __inline if that's what the C compiler calls it. */
45
#define inline __inline
47
/* Define if you have ANSI prototypes. */
48
#define HAVE_PROTOTYPES 1
50
/* Define if you have the ANSI C header files. */
51
#define STDC_HEADERS 1
53
/* Define if your processor stores words with the most significant
54
byte first (like Motorola and SPARC, unlike Intel and VAX). */
55
/* #undef WORDS_BIGENDIAN */
57
/* The number of bytes in a char. */
60
/* The number of bytes in a double. */
61
#define SIZEOF_DOUBLE 8
63
/* The number of bytes in a float. */
64
#define SIZEOF_FLOAT 4
66
/* The number of bytes in a int. */
69
/* The number of bytes in a long. */
72
/* The number of bytes in a short. */
73
#define SIZEOF_SHORT 2