Logo Search packages:      
Sourcecode: afbackup version File versions

conf.h

/****************** Start of $RCSfile: conf.h,v $  ****************
*
* $Source: /home/alb/afbackup/afbackup-3.3.8beta7/RCS/conf.h,v $
* $Id: conf.h,v 1.2 2004/07/08 20:34:44 alb Exp alb $
* $Date: 2004/07/08 20:34:44 $
* $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
#if   defined(__hpux) || defined(hpux)
#define     _LARGEFILE64_SOURCE     1
#define     _FILE_OFFSET_BITS 64
#endif
#ifdef UnixWare_5
#define     _LARGEFILE64_SOURCE     1
#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      UnixWare_5
#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_) */

Generated by  Doxygen 1.6.0   Back to index