From dea89f6a4b2eee5ca273f75f1dd0b2d17231c25e Mon Sep 17 00:00:00 2001 From: a5ob7r <12132068+a5ob7r@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:35:38 +0900 Subject: [PATCH] Remove an outdated CPP directive in User The current unix-compat is built with unix >=2.6, and all version of these packages exposes getAllGroupEntries and getAllUserEntries. So we no longer need to define dummy implementations. --- src/System/PosixCompat/User.hsc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/System/PosixCompat/User.hsc b/src/System/PosixCompat/User.hsc index b5b07e2..37a5bd4 100644 --- a/src/System/PosixCompat/User.hsc +++ b/src/System/PosixCompat/User.hsc @@ -39,14 +39,6 @@ module System.PosixCompat.User ( import System.Posix.User -#if __GLASGOW_HASKELL__<605 -getAllGroupEntries :: IO [GroupEntry] -getAllGroupEntries = return [] - -getAllUserEntries :: IO [UserEntry] -getAllUserEntries = return [] -#endif - #else /* Portable implementation */ import System.IO.Error