diff options
author | sof <unknown> | 2003-10-24 14:46:13 +0000 |
---|---|---|
committer | sof <unknown> | 2003-10-24 14:46:13 +0000 |
commit | 0374d35a8a0a5bfa76c2aef7f7a71fc99e683ed8 (patch) | |
tree | 35126e77fd037b64836863264727840382fd5046 /System | |
parent | a6ec43288890b34b97bcc213827425ec0e29a772 (diff) |
[project @ 2003-10-24 14:46:13 by sof]
drop cygwin #ifdef; not an issue with current versions.
merge to stable
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Terminal.hsc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/System/Posix/Terminal.hsc b/System/Posix/Terminal.hsc index 1f16e9f..5e4a017 100644 --- a/System/Posix/Terminal.hsc +++ b/System/Posix/Terminal.hsc @@ -60,9 +60,7 @@ module System.Posix.Terminal ( -- ** Testing a file descriptor queryTerminal, getTerminalName, -#if !defined(cygwin32_TARGET_OS) - getControllingTerminalName, -#endif + getControllingTerminalName ) where @@ -478,8 +476,6 @@ getTerminalName fd = do foreign import ccall unsafe "ttyname" c_ttyname :: Fd -> IO CString --- ToDo: should be #ifdef HAVE_CTERMID -#if !defined(cygwin32_TARGET_OS) getControllingTerminalName :: IO FilePath getControllingTerminalName = do s <- throwErrnoIfNull "getControllingTerminalName" (c_ctermid nullPtr) @@ -487,7 +483,6 @@ getControllingTerminalName = do foreign import ccall unsafe "ctermid" c_ctermid :: CString -> IO CString -#endif -- ----------------------------------------------------------------------------- -- Local utility functions |