From: William A. Rowe Jr Date: Tue, 3 Apr 2001 06:01:49 +0000 (+0000) Subject: Ahhh... the missing file from Ben's and my experiments X-Git-Tag: 2.0.16~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eef2d4af117cf894a2f9e11d6068efabc32fd398;p=apache Ahhh... the missing file from Ben's and my experiments git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88686 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_config.h b/include/ap_config.h index 0db62e09ab..3e61ca69f8 100644 --- a/include/ap_config.h +++ b/include/ap_config.h @@ -132,6 +132,12 @@ * * @deffunc module AP_MODULE_DECLARE_DATA mod_tag */ +#if defined(WIN32) +#define AP_MODULE_DECLARE(type) type __stdcall +#else +#define AP_MODULE_DECLARE(type) type +#endif +#define AP_MODULE_DECLARE_NONSTD(type) type #define AP_MODULE_DECLARE_DATA #else /** @@ -144,7 +150,9 @@ * @deffunc AP_MODULE_DECLARE_EXPORT */ #define AP_MODULE_DECLARE_EXPORT -#define AP_MODULE_DECLARE_DATA __declspec(dllexport) +#define AP_MODULE_DECLARE(type) __declspec(dllexport) type __stdcall +#define AP_MODULE_DECLARE_NONSTD(type) __declspec(dllexport) type +#define AP_MODULE_DECLARE_DATA __declspec(dllexport) #endif /**