~edwin-grubbs/python-imaging/trunk

« back to all changes in this revision

Viewing changes to libImaging/ImConfig.h

  • Committer: effbot
  • Date: 2006-03-01 19:11:48 UTC
  • Revision ID: svn-v4:be285980-f00d-0410-a9fe-d4747b46ecd0:pil:18
Load Imaging-1.1.3 into pil.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: ImConfig.h.in,v 1.1 1996/03/25 08:52:16 fredrik Exp fredrik $
2
 
 *
3
 
 * The Python Imaging Library.
4
 
 *
5
 
 * File:
6
 
 *      ImConfig.win -- ImConfig.h template for Windows (from ImConfig.h)
7
 
 *
8
 
 * Copyright (c) Fredrik Lundh 1995.  All rights reserved.
9
 
 */
10
 
 
11
 
/* -------------------------------------------------------------------- */
12
 
 
13
 
/* Define if you have the IJG jpeg library (-ljpeg).  */
14
 
#define HAVE_LIBJPEG
15
 
 
16
 
/* Define if you have the Greg Ward's mpeg library (-lmpeg).  */
17
 
#undef HAVE_LIBMPEG
18
 
 
19
 
/* Define if you have the zlib compression library (-lz).  */
20
 
#define HAVE_LIBZ
21
 
 
22
 
/* -------------------------------------------------------------------- */
23
 
 
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. */
27
 
#ifndef WIN32
28
 
#define WIN32
29
 
#endif
30
 
 
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' */
40
 
 
41
 
/* Define to empty if the keyword does not work.  */
42
 
/* #undef const */
43
 
 
44
 
/* Define as __inline if that's what the C compiler calls it.  */
45
 
#define inline __inline
46
 
 
47
 
/* Define if you have ANSI prototypes.  */
48
 
#define HAVE_PROTOTYPES 1
49
 
 
50
 
/* Define if you have the ANSI C header files.  */
51
 
#define STDC_HEADERS 1
52
 
 
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 */
56
 
 
57
 
/* The number of bytes in a char.  */
58
 
#define SIZEOF_CHAR 1
59
 
 
60
 
/* The number of bytes in a double.  */
61
 
#define SIZEOF_DOUBLE 8
62
 
 
63
 
/* The number of bytes in a float.  */
64
 
#define SIZEOF_FLOAT 4
65
 
 
66
 
/* The number of bytes in a int.  */
67
 
#define SIZEOF_INT 4
68
 
 
69
 
/* The number of bytes in a long.  */
70
 
#define SIZEOF_LONG 4
71
 
 
72
 
/* The number of bytes in a short.  */
73
 
#define SIZEOF_SHORT 2