diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-04-03 06:01:49 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-04-03 06:01:49 +0000 |
commit | eef2d4af117cf894a2f9e11d6068efabc32fd398 (patch) | |
tree | 5d08597b7d50d6fe5f37636a987164111f4105f0 | |
parent | ab56f4788f9db067d64ee28a10e37b1a162d3b24 (diff) | |
download | httpd-eef2d4af117cf894a2f9e11d6068efabc32fd398.tar.gz |
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
-rw-r--r-- | include/ap_config.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 /** |