File: conf.h

package info (click to toggle)
afbackup 3.3.6pl4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,872 kB
  • ctags: 3,143
  • sloc: ansic: 44,316; tcl: 4,189; sh: 2,263; csh: 2,077; makefile: 566; sed: 93; perl: 80
file content (96 lines) | stat: -rw-r--r-- 1,950 bytes parent folder | download
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/****************** Start of $RCSfile: conf.h,v $  ****************
*
* $Source: /home/alb/afbackup/afbackup-3.3.6/RCS/conf.h,v $
* $Id: conf.h,v 1.1 2001/11/02 10:37:28 alb Exp alb $
* $Date: 2001/11/02 10:37:28 $
* $Author: alb $
*
*
******* description ***********************************************
*
*
*
*******************************************************************/

#ifndef	__CONF_H_
#define	__CONF_H_	__CONF_H_

#include <lconf.h>
#include "config.h"

/* Workaround for bug in IRIX headers */
#if	defined(IRIX_6) || defined(IRIX64_6)
#define	_KMEMUSER	1
#endif
/* sometimes not defined by SGI's compilers (?) */
#if	defined(IRIX_5) || defined(IRIX_6) || defined(IRIX64_6)
#ifndef	sgi
#define	sgi	sgi
#endif
#endif

#ifdef	_64_BIT_FILESIZE_
#ifdef	_AIX
#define	_LARGE_FILES	1
#define	_LARGE_FILE_API	1
#endif
#if	defined(sun) || defined(linux)
#define	_FILE_OFFSET_BITS	64
#endif
#ifdef	hpux
#if 0	/* not compilable (????) (HP @#~*&% !!!) */
#define	_LARGEFILE64_SOURCE	1
#endif
#endif
#endif	/* defined(_64_BIT_FILESIZE_) */

#ifdef	HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef	HAVE_SYS_TIME_H
#ifdef	TIME_WITH_SYS_TIME
#include <time.h>
#endif
#endif

#ifdef	HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

#ifdef  HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
#ifdef  HAVE_SYS_STATFS_H
#include <sys/statfs.h>
#endif

/* cannot use pthread_create cause dumb IRIX will fail compiling */
#ifdef	HAVE_PTHREAD_JOIN
#define	HAVE_POSIX_THREADS	1
#endif

#ifdef	bioware_4
#define	REGEX_MALLOC	1
#endif

#ifdef	ENABLE_NLS
#ifdef	HAVE_INTL_LIBINTL_H
#include <intl/libintl.h>
#else
#include <libintl.h>
#endif
#define T_(String) gettext(String)
#ifdef gettext_noop
# define TN_(String) gettext_noop(String)
#else
# define TN_(String) (String)
#endif
#else /* !ENABLE_NLS */
#define T_(String) (String)
#define TN_(String) (String)
#endif /* ENABLE_NLS */

#endif	/* !defined(__CONF_H_) */