diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-02-22 22:40:57 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-03 23:11:35 -0400 |
commit | 350fda32ef3230e0ccbbec44a0894bb319292309 (patch) | |
tree | 73f0b0cd81b4d332b3760a10792fbb311fbe941b /src/first.h | |
parent | b3ebaef3e848cc40109130494923c419c76ddb79 (diff) | |
download | lighttpd-git-350fda32ef3230e0ccbbec44a0894bb319292309.tar.gz |
[build] _WIN32 __declspec(dllexport) *_plugin_init
_WIN32 __declspec(dllexport) on mod_*_plugin_init()
Diffstat (limited to 'src/first.h')
-rw-r--r-- | src/first.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/first.h b/src/first.h index cfd1c694..f02925e0 100644 --- a/src/first.h +++ b/src/first.h @@ -27,6 +27,23 @@ #define __STDC_WANT_LIB_EXT1__ 1 #endif +#ifndef LIGHTTPD_STATIC +#ifdef _MSC_VER +#ifndef __declspec_dllexport__ +#define __declspec_dllexport__ __declspec(dllexport) +#endif +#ifndef __declspec_dllimport__ +#define __declspec_dllimport__ __declspec(dllimport) +#endif +#endif +#endif +#ifndef __declspec_dllexport__ +#define __declspec_dllexport__ +#endif +#ifndef __declspec_dllimport__ +#define __declspec_dllimport__ +#endif + #ifdef _WIN32 /* https://learn.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers */ /* http://web.archive.org/web/20121219084749/http://support.microsoft.com/kb/166474 */ |