From 4d79f5b94dd64b124370fba5823d723f8d7044e4 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 4 Jun 2002 18:09:00 +0000 Subject: [PATCH] [project @ 2002-06-04 18:09:00 by sof] loadDynamic: both mingw and cygwin slurp DLLs --- ghc/compiler/ghci/InteractiveUI.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 9134440..162dfc2 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -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) -- 1.7.10.4