You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/04/03 08:01:50 UTC
cvs commit: httpd-2.0/include ap_config.h
wrowe 01/04/02 23:01:50
Modified: include ap_config.h
Log:
Ahhh... the missing file from Ben's and my experiments
Revision Changes Path
1.60 +9 -1 httpd-2.0/include/ap_config.h
Index: ap_config.h
===================================================================
RCS file: /home/cvs/httpd-2.0/include/ap_config.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- ap_config.h 2001/03/13 22:20:54 1.59
+++ ap_config.h 2001/04/03 06:01:49 1.60
@@ -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
/**