From eef2d4af117cf894a2f9e11d6068efabc32fd398 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 3 Apr 2001 06:01:49 +0000 Subject: [PATCH] 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 --- include/ap_config.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 /** -- 2.40.0