summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-17 17:00:57 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-17 17:00:57 +0100
commit12cc938c359255297cf0b74d2ac37675fc502137 (patch)
treed9dfe08117cbf8152ab43da1fd9751f53ff0b773
parentae4017f4459de4945754dae658f731a19fe7fd64 (diff)
parentf5519a585fdff5a009c20c3d89db315d4af45196 (diff)
Merge pull request #967 from SaberUK/insp20+fix-windows
Fix modules not being versioned on Windows.
-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