Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.     jbig2dec
  3.  
  4.     Copyright (C) 2002-2003 Artifex Software, Inc.
  5.  
  6.     This software is distributed under license and may not
  7.     be copied, modified or distributed except as expressly
  8.     authorized under the terms of the license contained in
  9.     the file LICENSE in this distribution.
  10.  
  11.     For further licensing information refer to http://artifex.com/ or
  12.     contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
  13.     San Rafael, CA  94903, U.S.A., +1(415)492-9861.
  14. */
  15.  
  16. /* configuration header file for compiling under Microsoft Windows */
  17.  
  18. /* update package version here */
  19. #define PACKAGE "jbig2dec"
  20. #define VERSION "0.3"
  21.  
  22. #if defined(_MSC_VER) || (defined(__BORLANDC__) && defined(__WIN32__))
  23.   /* Microsoft Visual C++ or Borland C++ */
  24.   typedef signed char             int8_t;
  25.   typedef short int               int16_t;
  26.   typedef int                     int32_t;
  27.   typedef __int64                 int64_t;
  28.  
  29.   typedef unsigned char             uint8_t;
  30.   typedef unsigned short int        uint16_t;
  31.   typedef unsigned int              uint32_t;
  32.   /* no uint64_t */
  33.  
  34. #  if defined(_MSC_VER)
  35. #   if _MSC_VER < 1500  /* VS 2008 has vsnprintf */
  36. #    define vsnprintf _vsnprintf
  37. #   endif
  38. #  endif
  39. #  define snprintf _snprintf
  40.  
  41. #endif /* _MSC_VER */
  42.