[project @ 2002-06-04 18:09:00 by sof]
authorsof <unknown>
Tue, 4 Jun 2002 18:09:00 +0000 (18:09 +0000)
committersof <unknown>
Tue, 4 Jun 2002 18:09:00 +0000 (18:09 +0000)
loadDynamic: both mingw and cygwin slurp DLLs

ghc/compiler/ghci/InteractiveUI.hs

index 9134440..162dfc2 100644 (file)
@@ -1,6 +1,6 @@
 {-# OPTIONS -#include "Linker.h" -#include "SchedAPI.h" #-}
 -----------------------------------------------------------------------------
--- $Id: InteractiveUI.hs,v 1.124 2002/05/01 17:56:54 sof Exp $
+-- $Id: InteractiveUI.hs,v 1.125 2002/06/04 18:09:00 sof Exp $
 --
 -- GHC Interactive User Interface
 --
@@ -1118,7 +1118,7 @@ locateOneObj (d:ds) lib
 -- ----------------------------------------------------------------------------
 -- Loading a dyanmic library (dlopen()-ish on Unix, LoadLibrary-ish on Win32)
 
-#ifdef mingw32_TARGET_OS
+#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS)
 loadDynamic paths rootname = addDLL rootname
   -- ignore paths on windows (why? --SDM)