summaryrefslogtreecommitdiff
path: root/zen/win_ver.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:21:41 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:21:41 +0200
commitd6301fca6b78db52d0d98f8e0799aba175ad2e59 (patch)
tree0380aac034e0d70ee058db07900d80ff20cfc81e /zen/win_ver.h
parent5.7 (diff)
downloadFreeFileSync-d6301fca6b78db52d0d98f8e0799aba175ad2e59.tar.gz
FreeFileSync-d6301fca6b78db52d0d98f8e0799aba175ad2e59.tar.bz2
FreeFileSync-d6301fca6b78db52d0d98f8e0799aba175ad2e59.zip
5.8
Diffstat (limited to 'zen/win_ver.h')
-rw-r--r--zen/win_ver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/zen/win_ver.h b/zen/win_ver.h
index 0c18a822..2c5e2f81 100644
--- a/zen/win_ver.h
+++ b/zen/win_ver.h
@@ -1,7 +1,7 @@
// **************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
-// * Copyright (C) ZenJu (zenju AT gmx DOT de) - All Rights Reserved *
+// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
// **************************************************************************
#ifndef WINDOWS_VERSION_HEADER_238470348254325
@@ -15,6 +15,7 @@ bool winXpOrLater();
bool winServer2003orLater();
bool vistaOrLater();
bool win7OrLater();
+bool win8OrLater();
@@ -35,6 +36,7 @@ bool win7OrLater();
//Server 2003 is version 5.2
//Vista is version 6.0
//Seven is version 6.1
+//Eight is version 6.2
namespace impl
{
@@ -60,6 +62,9 @@ bool vistaOrLater() { return impl::winXyOrLater(6, 0); }
inline
bool win7OrLater() { return impl::winXyOrLater(6, 1); }
+
+inline
+bool win8OrLater() { return impl::winXyOrLater(6, 2); }
}
#endif //WINDOWS_VERSION_HEADER_238470348254325
bgstack15