{-# LANGUAGE CPP #-}
{-# LANGUAGE Safe #-}
module System.IO.PlafCompat
(nullFileName,
#if (defined(mingw32_HOST_OS) || defined(mingw32_TARGET_OS) || defined(__MINGW32__))
module System.IO.WindowsCompat,
#else
module System.Posix.Files,
#endif
module System.Posix.Types)
where
import System.Posix.Types
#if (defined(mingw32_HOST_OS) || defined(mingw32_TARGET_OS) || defined(__MINGW32__))
import System.IO.WindowsCompat
#else
import System.Posix.Files
#endif
nullFileName :: String
#if (defined(mingw32_HOST_OS) || defined(mingw32_TARGET_OS) || defined(__MINGW32__))
nullFileName = "NUL:"
#else
nullFileName :: String
nullFileName = String
"/dev/null"
#endif