From a021f6329be43973cf4d9e9248daa915235dda9e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 7 Aug 2000 17:17:05 +0000 Subject: 12555: fix static linking on cygwin --- Src/zsh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index dc24db2ed..fe17d6cd6 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1681,7 +1681,7 @@ typedef unsigned char * (*ZleReadFn) _((char *, char *, int)); /* Pseudo-keyword to mark exportedness */ /***************************************/ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) && defined(MODULE) #define mod_export __attribute__((__dllexport__)) #define mod_import_variable __attribute__((__dllimport__)) #define mod_import_function -- cgit v1.2.3