summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-01-17 15:31:35 +0000
committerPeter Powell <petpow@saberuk.com>2015-01-17 15:31:35 +0000
commitf5519a585fdff5a009c20c3d89db315d4af45196 (patch)
treed9dfe08117cbf8152ab43da1fd9751f53ff0b773 /include/modules.h
parentae4017f4459de4945754dae658f731a19fe7fd64 (diff)
Fix modules not being versioned on Windows.
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index cd0d5aad0..9857012fc 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1717,7 +1717,8 @@ struct AllModuleList {
break; \
} \
return TRUE; \
- }
+ } \
+ extern "C" DllExport const char inspircd_src_version[] = VERSION " r" REVISION;
#else