home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Extensions / Imaging / libImaging / ImConfig.h.win < prev    next >
Encoding:
Text File  |  2000-06-23  |  2.2 KB  |  74 lines

  1. /* $Id: ImConfig.h.win,v 1.1.1.1 1998/08/18 13:08:09 sjoerd Exp $
  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
  74.