diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-26 01:41:39 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-26 01:41:39 +0000 |
commit | c5b9eaeda030638a6fbd59396f7ad61baaf70fad (patch) | |
tree | fd7fa9e2782d1e54c02fd999dbf5576c81af4376 /src/misc.c | |
parent | 90f6431603714f3c2abbe44550bca8824bb8bbe6 (diff) |
Various fixes for compiling under Windows.
Also updated ms_* modules to use std::vector Memo struct from earlier commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc.c b/src/misc.c index ccdfeaf15..ab164800a 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1336,8 +1336,10 @@ char *GetWindowsVersion(void) extra = sstrdup("Datacenter Edition"); } else if (osvi.wSuiteMask & VER_SUITE_ENTERPRISE) { extra = sstrdup("Enterprise Edition"); +#ifdef VER_SUITE_COMPUTE_SERVER } else if (osvi.wSuiteMask & VER_SUITE_COMPUTE_SERVER) { extra = sstrdup("Compute Cluster Edition"); +#endif } else if (osvi.wSuiteMask == VER_SUITE_BLADE) { extra = sstrdup("Web Edition"); } else { |