--- ../generic/macros.h	2007-03-19 13:18:37.000000000 -0400
+++ ../generic/macros.h	2013-08-03 17:39:59.000000000 -0400
@@ -29,8 +29,4 @@
 #endif
 
-#ifndef WIN32
-#define __declspec(dllexport)
-#endif
-
 #include "log.h"
 
--- ../generic/mod_websh.c	2009-06-12 09:37:16.000000000 -0400
+++ ../generic/mod_websh.c	2013-08-03 17:46:06.000000000 -0400
@@ -81,8 +81,8 @@
 
 #ifndef APACHE2
-module MODULE_VAR_EXPORT websh_module;
+DLLEXPORT module MODULE_VAR_EXPORT websh_module;
 #define APPOOL pool
 #else /* APACHE2 */
-module AP_MODULE_DECLARE_DATA websh_module;
+DLLEXPORT module AP_MODULE_DECLARE_DATA websh_module;
 #define APPOOL apr_pool_t
 #endif /* APACHE2 */
