summaryrefslogtreecommitdiff
path: root/buildlib/config.h.in
blob: 9a4816a048d14b9eadfd8fc8aaeb49fa552722d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

/* The number of bytes in a usigned char.  */
#undef SIZEOF_CHAR

/* The number of bytes in a unsigned int.  */
#undef SIZEOF_INT

/* The number of bytes in a unsigned long.  */
#undef SIZEOF_LONG

/* The number of bytes in a unsigned short.  */
#undef SIZEOF_SHORT

/* Define if we have libgpm. */
#undef HAVE_LIBGPM

/* Define if we have the SLang library from Davis. */
#undef HAVE_LIBSLANG    

/* Define if we have the X11 windowing system. */
#undef HAVE_X11

/* Define the architecture name string */
#undef ARCHITECTURE

/* The version number string */
#undef VERSION

/* The package name string */
#undef PACKAGE

/* Generate the fixed bit size types */
#if SIZEOF_INT == 4
# define INT32 int
# define UINT32 unsigned int
#else
# if SIZEOF_LONG == 4
#  define INT32 long
#  define UINT32 unsigned long
# else
#  if SIZEOF_SHORT == 4
#   define INT32 short
#   define UINT32 unsigned short
#  else
#   error Must have a form of 32-bit integer
#  endif
# endif
#endif

#if SIZEOF_INT == 2
# define INT16 int
# define UINT16 unsigned int
#else
# if SIZEOF_LONG == 2
#  define INT16 long
#  define UINT16 unsigned long
# else
#  if SIZEOF_SHORT == 2
#   define INT16 short
#   define UINT16 short
#  else
#   error Must have a form of 16-bit integer
#  endif
# endif
#endif