From 997919c2f78f3a0e7b953fdfb02afad845b71250 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 3 Mar 1999 19:28:23 +0000 Subject: [PATCH] [project @ 1999-03-03 19:28:23 by sof] DLL_IMPORT_DATA_VAR fix --- ghc/includes/Stg.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index e0c42ee..6443c0c 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.7 1999/03/02 19:44:17 sof Exp $ + * $Id: Stg.h,v 1.8 1999/03/03 19:28:23 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -52,7 +52,11 @@ #define DLL_IMPORT #define DLL_IMPORT_RTS DLLIMPORT #define DLL_IMPORT_DATA DLLIMPORT -#define DLL_IMPORT_DATA_VAR(x) _imp__##x +# ifdef HAVE_WIN32_DLL_SUPPORT +# define DLL_IMPORT_DATA_VAR(x) _imp__##x +# else +# define DLL_IMPORT_DATA_VAR(x) x +# endif #endif /* bit macros -- 1.7.10.4