diff --git a/qse/lib/http/httpd-std-mod.h b/qse/lib/http/httpd-std-mod.h index 01c8fbba..f58d93a4 100644 --- a/qse/lib/http/httpd-std-mod.h +++ b/qse/lib/http/httpd-std-mod.h @@ -1,4 +1,10 @@ - +/* Override the global definition QSE_ENABLE_STATIC_MODULE + * for httpd on platforms with mature dynamic loading support. + */ +#if defined(QSE_ENABLE_STATIC_MODULE) && \ + (defined(USE_LTDL) || defined(_WIN32) || defined(__OS2__)) +# undef QSE_ENABLE_STATIC_MODULE +#endif static void* mod_open (qse_httpd_t* httpd, const qse_char_t* sysname) {