IceConfig.h.in 2.76 KB
Newer Older
1
/********************************************************/
2
3
4
5
/*                                                      */
/*      ICE Host Dependent Configuration File           */
/*      Automatically Generated by CMake                */
/*                                                      */
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/********************************************************/

#ifndef __ICE_CONFIG
#define __ICE_CONFIG

/* what byte order */
#cmakedefine CMAKE_WORDS_BIGENDIAN
#ifdef CMAKE_WORDS_BIGENDIAN
  #define ICE_WORDS_BIGENDIAN
  #define ICE_BYTE_ORDER_BIG
#else
  #define ICE_WORDS_LITTLEENDIAN
  #define ICE_BYTE_ORDER_LITTLE
#endif

#define ICE_SYSTEM "@ICE_SYSTEM@"
#define ICE_HOST @ICE_SYSTEM@
23
24
25
#ifndef @ICE_SYSTEM@
#define @ICE_SYSTEM@
#endif
26
27
28

#cmakedefine ICE_VOID_VALID
#ifndef ICE_VOID_VALID
29
30
        /* Force an Error */
#error  ICE_VOID not defined
31
32
33
34
35
#endif
#define ICE_VOID @ICE_VOID@

#cmakedefine ICE_PTR_VALID
#ifndef ICE_PTR_VALID
36
37
        /* Force an Error */
#error  ICE_PTR not defined
38
39
40
41
42
#endif
#define ICE_PTR @ICE_PTR@

#cmakedefine ICE_CHAR_VALID
#ifndef ICE_CHAR_VALID
43
44
        /* Force an Error */
#error  ICE_CHAR not defined
45
46
47
48
49
#endif
#define ICE_CHAR @ICE_CHAR@

#cmakedefine ICE_8_INT_VALID
#ifndef ICE_8_INT_VALID
50
51
        /* Force an Error */
#error  ICE_8_INT not defined
52
#endif
53
54
#define ICE_8_INT       @ICE_8_INT@
#define ICE_8_U_INT     @ICE_8_U_INT@
55
56
57

#cmakedefine ICE_16_INT_VALID
#ifndef ICE_16_INT_VALID
58
59
        /* Force an Error */
#error  ICE_16_INT not defined
60
#endif
61
62
#define ICE_16_INT      @ICE_16_INT@
#define ICE_16_U_INT    @ICE_16_U_INT@
63
64
65

#cmakedefine ICE_32_INT_VALID
#ifndef ICE_32_INT_VALID
66
67
        /* Force an Error */
#error  ICE_32_INT not defined
68
#endif
69
70
71
#define ICE_32_INT      @ICE_32_INT@
#define ICE_32_U_INT    @ICE_32_U_INT@
#define ICE_32_S_INT    @ICE_32_S_INT@
72
73
74

#cmakedefine ICE_32_FLOAT_VALID
#ifndef ICE_32_FLOAT_VALID
75
76
        /* Force an Error */
#error  ICE_32_FLOAT not defined
77
78
79
80
81
82
#endif
#define ICE_32_FLOAT @ICE_32_FLOAT@
#define ICE_FLOAT @ICE_32_FLOAT@

#cmakedefine ICE_64_FLOAT_VALID
#ifndef ICE_64_FLOAT_VALID
83
84
        /* Force an Error */
#error  ICE_64_FLOAT not defined
85
86
87
88
89
90
91
92
93
#endif
#define ICE_64_FLOAT @ICE_64_FLOAT@
#define ICE_DOUBLE @ICE_64_FLOAT@


#ifndef SIZEOF___INT64
#cmakedefine SIZEOF___INT64
#endif

Andy Cedilnik's avatar
Andy Cedilnik committed
94
95
#cmakedefine HAVE_STRTOLL

96
97
98
99
100
101
102
103
104
105
#ifndef SIZEOF_LONG_LONG
#cmakedefine SIZEOF_LONG_LONG
#endif

#if defined( SIZEOF___INT64 )
# define ICE_64_INT __int64
# define HAVE_64_INT
#elif defined( SIZEOF_LONG_LONG )
# define ICE_64_INT long long
# define HAVE_64_INT
106
# define ICE_have_64_bit_int
107
108
109
110
#else
# error "64 bit long not defined"
#endif

Andy Cedilnik's avatar
Andy Cedilnik committed
111
#cmakedefine ICE_HAVE_64BIT_STREAMS
Andy Cedilnik's avatar
Andy Cedilnik committed
112
113
114
115
116
#ifdef ICE_HAVE_64BIT_STREAMS
#define ICE_64BIT_CAST
#else
#define ICE_64BIT_CAST (long)
#endif
117
118
119
120
121
122
123


#cmakedefine ICE_HAVE_FCNTL
#cmakedefine ICE_HAVE_NETINET
#cmakedefine ICE_HAVE_MMAN

#endif /* __ICE_CONFIG */