File: acconfig.h

package info (click to toggle)
mtr 0.48-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 488 kB
  • ctags: 428
  • sloc: ansic: 3,348; sh: 285; makefile: 78
file content (51 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (8)
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

/* Define if you don't have the GTK+ libraries available.  */
#undef NO_GTK

/* Define if you don't have the curses libraries available.  */
#undef NO_CURSES

/* Define if you don't have the herror() function available.  */
#undef NO_HERROR

/* Define if you don't have the strerror() function available.  */
#undef NO_STRERROR

/*  Define the package name.  ("mtr")  */
#undef PACKAGE

/*  Define the version string.  */
#undef VERSION

@TOP@

@BOTTOM@

/*  Find the proper type for 8 bits  */
#if SIZEOF_UNSIGNED_CHAR == 1
typedef unsigned char uint8;
#else
#error No 8 bit type
#endif

/*  Find the proper type for 16 bits  */
#if SIZEOF_UNSIGNED_SHORT == 2
typedef unsigned short uint16;
#elif SIZEOF_UNSIGNED_INT == 2
typedef unsigned int uint16;
#elif SIZEOF_UNSIGNED_LONG == 2
typedef unsigned long uint16;
#else
#error No 16 bit type
#endif

/*  Find the proper type for 32 bits  */
#if SIZEOF_UNSIGNED_SHORT == 4
typedef unsigned short uint32;
#elif SIZEOF_UNSIGNED_INT == 4
typedef unsigned int uint32;
#elif SIZEOF_UNSIGNED_LONG == 4
typedef unsigned long uint32;
#else
#error No 32 bit type
#endif