From: sof Date: Wed, 3 Mar 1999 19:28:23 +0000 (+0000) Subject: [project @ 1999-03-03 19:28:23 by sof] X-Git-Tag: Approximately_9120_patches~6423 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=997919c2f78f3a0e7b953fdfb02afad845b71250;p=ghc-hetmet.git [project @ 1999-03-03 19:28:23 by sof] DLL_IMPORT_DATA_VAR fix --- 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