{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module TextShow.System.Posix.Types () where
import System.Posix.Types
import TextShow.Classes (TextShow(..))
import TextShow.Data.Integral ()
import TextShow.Foreign.C.Types ()
import TextShow.Foreign.Ptr ()
#include "HsBaseConfig.h"
#if defined(HTYPE_DEV_T)
deriving instance TextShow CDev
#endif
#if defined(HTYPE_INO_T)
deriving instance TextShow CIno
#endif
#if defined(HTYPE_MODE_T)
deriving instance TextShow CMode
#endif
#if defined(HTYPE_OFF_T)
deriving instance TextShow COff
#endif
#if defined(HTYPE_PID_T)
deriving instance TextShow CPid
#endif
#if defined(HTYPE_SSIZE_T)
deriving instance TextShow CSsize
#endif
#if defined(HTYPE_GID_T)
deriving instance TextShow CGid
#endif
#if defined(HTYPE_NLINK_T)
deriving instance TextShow CNlink
#endif
#if defined(HTYPE_UID_T)
deriving instance TextShow CUid
#endif
#if defined(HTYPE_CC_T)
deriving instance TextShow CCc
#endif
#if defined(HTYPE_SPEED_T)
deriving instance TextShow CSpeed
#endif
#if defined(HTYPE_TCFLAG_T)
deriving instance TextShow CTcflag
#endif
#if defined(HTYPE_RLIM_T)
deriving instance TextShow CRLim
#endif
#if MIN_VERSION_base(4,10,0)
# if defined(HTYPE_BLKSIZE_T)
deriving instance TextShow CBlkSize
# endif
# if defined(HTYPE_BLKCNT_T)
deriving instance TextShow CBlkCnt
# endif
# if defined(HTYPE_CLOCKID_T)
deriving instance TextShow CClockId
# endif
# if defined(HTYPE_FSBLKCNT_T)
deriving instance TextShow CFsBlkCnt
# endif
# if defined(HTYPE_FSFILCNT_T)
deriving instance TextShow CFsFilCnt
# endif
# if defined(HTYPE_ID_T)
deriving instance TextShow CId
# endif
# if defined(HTYPE_KEY_T)
deriving instance TextShow CKey
# endif
# if defined(HTYPE_TIMER_T)
deriving instance TextShow CTimer
# endif
#endif
deriving instance TextShow Fd