diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-08-07 17:17:05 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-08-07 17:17:05 +0000 |
commit | a021f6329be43973cf4d9e9248daa915235dda9e (patch) | |
tree | 5916b451c43fdc3a320b7376c2b78905e6978444 /Src/zsh.h | |
parent | 1d2948c2da8c19f681daa26da2fc312b5fc697a2 (diff) | |
download | zsh-a021f6329be43973cf4d9e9248daa915235dda9e.tar.gz zsh-a021f6329be43973cf4d9e9248daa915235dda9e.tar.xz zsh-a021f6329be43973cf4d9e9248daa915235dda9e.zip |
12555: fix static linking on cygwin
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |