]> git.saurik.com Git - apt.git/blame - buildlib/config.h.in
Fixed strange seg on sparc
[apt.git] / buildlib / config.h.in
CommitLineData
d7bccc73
AL
1/* Define if your processor stores words with the most significant
2 byte first (like Motorola and SPARC, unlike Intel and VAX). */
3#undef WORDS_BIGENDIAN
4
e1b74f61
AL
5/* The number of bytes in a usigned char. */
6#undef SIZEOF_CHAR
d7bccc73
AL
7
8/* The number of bytes in a unsigned int. */
e1b74f61 9#undef SIZEOF_INT
d7bccc73
AL
10
11/* The number of bytes in a unsigned long. */
e1b74f61 12#undef SIZEOF_LONG
d7bccc73
AL
13
14/* The number of bytes in a unsigned short. */
e1b74f61 15#undef SIZEOF_SHORT
118a5e95
AL
16
17/* Define if we have libgpm. */
18#undef HAVE_LIBGPM
19
20/* Define if we have the SLang library from Davis. */
21#undef HAVE_LIBSLANG
22
23/* Define if we have the X11 windowing system. */
24#undef HAVE_X11
e1b74f61
AL
25
26/* Define the architecture name string */
27#undef ARCHITECTURE
28
29/* The version number string */
30#undef VERSION
31
32/* The package name string */
33#undef PACKAGE
17a10bf5
AL
34
35/* Generate the fixed bit size types */
36#if SIZEOF_INT == 4
37# define INT32 int
38# define UINT32 unsigned int
39#else
40# if SIZEOF_LONG == 4
41# define INT32 long
42# define UINT32 unsigned long
43# else
44# if SIZEOF_SHORT == 4
45# define INT32 short
46# define UINT32 unsigned short
47# else
48# error Must have a form of 32-bit integer
49# endif
50# endif
51#endif
52
53#if SIZEOF_INT == 2
54# define INT16 int
55# define UINT16 unsigned int
56#else
57# if SIZEOF_LONG == 2
58# define INT16 long
59# define UINT16 unsigned long
60# else
61# if SIZEOF_SHORT == 2
62# define INT16 short
63# define UINT16 short
64# else
65# error Must have a form of 16-bit integer
66# endif
67# endif
68#endif