Index: module/apache2/apreq_module_apache2.h
===================================================================
--- module/apache2/apreq_module_apache2.h	(revision 750450)
+++ module/apache2/apreq_module_apache2.h	(working copy)
@@ -146,10 +146,9 @@
  *      
  */
 #ifdef WIN32
-APR_DECLARE_OPTIONAL_FN(apreq_handle_t * __stdcall,
-                        apreq_handle_apache2, (request_rec *r));
+typedef __declspec(dllexport) apreq_handle_t *(__stdcall apr_OFN_apreq_handle_apache2_t) (request_rec *r);
 #else
-APR_DECLARE_OPTIONAL_FN(apreq_handle_t *,
+APR_DECLARE_OPTIONAL_FN(APREQ_DECLARE(apreq_handle_t *),
                         apreq_handle_apache2, (request_rec *r));
 #endif
 
