diff options
Diffstat (limited to 'zconf.in.h')
-rw-r--r-- | zconf.in.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -183,20 +183,21 @@ | |||
183 | # define ZEXPORT WINAPI _export | 183 | # define ZEXPORT WINAPI _export |
184 | # define ZEXPORTVA FAR _cdecl _export | 184 | # define ZEXPORTVA FAR _cdecl _export |
185 | # else | 185 | # else |
186 | # define ZEXPORT WINAPI | 186 | # define ZEXPORT FAR _cdecl |
187 | # define ZEXPORTVA FAR _cdecl | 187 | # define ZEXPORTVA FAR _cdecl |
188 | # endif | 188 | # endif |
189 | # else | 189 | # else |
190 | /* a fully Win32-compliant compiler */ | 190 | /* a fully Win32-compliant compiler */ |
191 | # define ZEXPORT WINAPI | ||
192 | # define ZEXPORTVA CDECL | 191 | # define ZEXPORTVA CDECL |
193 | # ifdef ZLIB_DLL | 192 | # ifdef ZLIB_DLL |
193 | # define ZEXPORT WINAPI | ||
194 | # ifdef ZLIB_INTERNAL | 194 | # ifdef ZLIB_INTERNAL |
195 | # define ZEXTERN extern __declspec(dllexport) | 195 | # define ZEXTERN extern __declspec(dllexport) |
196 | # else | 196 | # else |
197 | # define ZEXTERN extern __declspec(dllimport) | 197 | # define ZEXTERN extern __declspec(dllimport) |
198 | # endif | 198 | # endif |
199 | # else | 199 | # else |
200 | # define ZEXPORT CDECL | ||
200 | # define ZEXTERN extern | 201 | # define ZEXTERN extern |
201 | # endif | 202 | # endif |
202 | # endif | 203 | # endif |