Mercurial > dovecot > original-hg > dovecot-1.2
view src/plugins/quota/quota-fs.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | 685a6f165193 |
children | c0ff3c147375 |
line wrap: on
line source
#ifndef QUOTA_FS_H #define QUOTA_FS_H #if defined (HAVE_STRUCT_DQBLK_CURBLOCKS) || \ defined (HAVE_STRUCT_DQBLK_CURSPACE) # define HAVE_FS_QUOTA #endif #ifdef HAVE_SYS_QUOTA_H # include <sys/quota.h> /* Linux */ #elif defined(HAVE_SYS_FS_UFS_QUOTA_H) # include <sys/fs/ufs_quota.h> /* Solaris */ #elif defined(HAVE_UFS_UFS_QUOTA_H) # include <ufs/ufs/quota.h> /* BSDs */ #elif defined(HAVE_JFS_QUOTA_H) # include <jfs/quota.h> /* AIX */ #else # undef HAVE_FS_QUOTA #endif #if defined (HAVE_QUOTACTL) && defined(HAVE_SYS_QUOTA_H) # define FS_QUOTA_LINUX #elif defined(HAVE_QUOTACTL) # define FS_QUOTA_BSDAIX #elif defined (HAVE_Q_QUOTACTL) # define FS_QUOTA_SOLARIS #else # undef HAVE_FS_QUOTA #endif #endif