]> granicus.if.org Git - apache/commitdiff
Ahhh... the missing file from Ben's and my experiments
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 3 Apr 2001 06:01:49 +0000 (06:01 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 3 Apr 2001 06:01:49 +0000 (06:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88686 13f79535-47bb-0310-9956-ffa450edef68

include/ap_config.h

index 0db62e09ab8d657c3ec2b2fa84a783868172d708..3e61ca69f8b306e5afb1279756e0463040bf8d5a 100644 (file)
  *
  * @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
 /**
  * @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
 
 /**