the APLOG_MODULE_INDEX macro to avoid warnings with some
C++ compilers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1085724 13f79535-47bb-0310-9956-
ffa450edef68
* @see APLOG_MARK
* @see ap_log_error
*/
+#ifdef __cplusplus
+#define APLOG_MODULE_INDEX (*aplog_module_index)
+#else /* __cplusplus */
#define APLOG_MODULE_INDEX \
(aplog_module_index ? *aplog_module_index : APLOG_NO_MODULE)
+#endif /* __cplusplus */
/**
* APLOG_MAX_LOGLEVEL can be defined to remove logging above some