~ubuntu-branches/ubuntu/trusty/graphicsmagick/trusty-proposed

« back to all changes in this revision

Viewing changes to magick/magick_types.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2009-05-07 20:09:28 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090507200928-5rb3jyvrsi9x3zfl
Tags: 1.3.5-5
* debian/control: Update Conflicts/Replaces of -dev-compat package to
  follow libmagick-dev package split. Closes: #526482
* magick/GraphicsMagick-config.{in,1}: Do not expose compiler options
  used to build the library itself via GraphicsMagick-config. Only
  provide options that are actually useful to depending applications.
  Adjust documentation accordingly. Closes: #523596

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright (C) 2003 GraphicsMagick Group
 
2
  Copyright (C) 2003, 2007, 2009 GraphicsMagick Group
3
3
 
4
4
  This program is covered by multiple licenses, which are described in
5
5
  Copyright.txt. You should have received a copy of Copyright.txt with this
27
27
  magick_uint64_t --                          0 to 18,446,744,073,709,551,615
28
28
*/
29
29
 
30
 
#if defined(WIN32) && !defined(__MINGW32__)
 
30
#if defined(WIN32) && !defined(__MINGW32__) || defined (_CH_)
31
31
 
32
32
  /* The following typedefs are used for WIN32 */
33
33
  typedef signed char   magick_int8_t;
37
37
  typedef unsigned short magick_uint16_t;
38
38
 
39
39
  typedef signed int  magick_int32_t;
 
40
#define MAGICK_INT32_F ""
40
41
  typedef unsigned int magick_uint32_t;
 
42
#define MAGICK_UINT32_F ""
41
43
 
42
 
  /* Maybe we need to do something different for __BORLANDC__ here? */
 
44
#  if defined(_CH_)
 
45
#  include <stdint.h>
 
46
  typedef int64_t  magick_int64_t;
 
47
  typedef uint64_t magick_uint64_t;
 
48
#  else
43
49
  typedef signed __int64  magick_int64_t;
 
50
#define MAGICK_INT64_F "I64"
44
51
  typedef unsigned __int64 magick_uint64_t;
 
52
#define MAGICK_UINT64_F "I64"
 
53
#  endif
 
54
 
 
55
  typedef magick_uint64_t magick_uintmax_t;
 
56
  typedef unsigned long magick_uintptr_t;
45
57
 
46
58
#else
47
59
 
53
65
  typedef @UINT16_T@ magick_uint16_t;
54
66
 
55
67
  typedef @INT32_T@  magick_int32_t;
 
68
#define MAGICK_INT32_F @INT32_F@
56
69
  typedef @UINT32_T@ magick_uint32_t;
 
70
#define MAGICK_UINT32_F @UINT32_F@
57
71
 
58
72
  typedef @INT64_T@  magick_int64_t;
 
73
#define MAGICK_INT64_F @INT64_F@
59
74
  typedef @UINT64_T@ magick_uint64_t;
 
75
#define MAGICK_UINT64_F @UINT64_F@
 
76
 
 
77
  typedef @UINTMAX_T@ magick_uintmax_t;
 
78
#define MAGICK_UINTMAX_F @UINTMAX_F@
 
79
 
 
80
  typedef @UINTPTR_T@ magick_uintptr_t;
 
81
#define MAGICK_UINTPTR_F @UINTPTR_F@
60
82
 
61
83
#endif
62
84
 
63
85
  /* 64-bit file and blob offset type */
64
86
  typedef magick_int64_t magick_off_t;
 
87
#define MAGICK_OFF_F MAGICK_INT64_F
65
88
 
66
89
#if defined(__cplusplus) || defined(c_plusplus)
67
90
}