File: appUtilConfig.h

package info (click to toggle)
ted 2.11-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 11,064 kB
  • ctags: 13,935
  • sloc: ansic: 120,446; makefile: 7,469; sh: 253
file content (79 lines) | stat: -rw-r--r-- 2,162 bytes parent folder | download | duplicates (3)
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
69
70
71
72
73
74
75
76
77
78
79
/* appUtilConfig.h.  Generated automatically by configure.  */
#   ifndef	APP_UTIL_CONFIG_H
#   define	APP_UTIL_CONFIG_H

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
/* #undef WORDS_BIGENDIAN */


/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the uname function.  */
#define HAVE_UNAME 1

/* Define if a struct utsname has a domainname member */
#define UTSNAME_DOMAIN __domainname

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the <dirent.h> header file.  */
#define HAVE_DIRENT_H 1

/************************************************************************/
/*									*/
/*  Define if you have the socket function.				*/
/*  Define if you have the <sys/socket.h> header file.			*/
/*									*/
/************************************************************************/
#define HAVE_SOCKET 1
#define HAVE_SYS_SOCKET_H 1

/************************************************************************/
/*									*/
/*  Determine what kind of integers we have.				*/
/*									*/
/************************************************************************/

#define SIZEOF_SHORT 2
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_UNSIGNED_SHORT 2
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_UNSIGNED_LONG 4

#   if SIZEOF_UNSIGNED_SHORT == 2
	typedef unsigned short	UtilUint16;
#   else
#	if SIZEOF_UNSIGNED_INT == 2
	typedef unsigned int	UtilUint16;
#	else
	What else can be a 16 bit integer?
#	endif
#   endif

#   if SIZEOF_UNSIGNED_INT == 4
	typedef unsigned int	UtilUint32;
#   else
#	if SIZEOF_UNSIGNED_LONG == 4
	typedef unsigned long	UtilUint32;
#	else
	What else can be a 32 bit integer?
#	endif
#   endif

#   endif	/*  APP_UTIL_CONFIG_H  */