Skip to content

Commit

Permalink
adding Env.hs (ooops.)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Apr 8, 2011
1 parent c4895c6 commit b25be31
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Env.hs
@@ -0,0 +1,10 @@
{-# LANGUAGE CPP #-}

module Env (unsetEnv) where

#if defined(mingw32_HOST_OS) || defined(__MINGW32__)
unsetEnv :: String -> IO ()
unsetEnv _ = return ()
#else
import System.Posix.Env (unsetEnv)
#endif

0 comments on commit b25be31

Please sign in to comment.