]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Sat, 28 May 2011 19:54:22 +0000 (12:54 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Sat, 28 May 2011 19:54:22 +0000 (12:54 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/hostinfo.h

index 316f5d5fb4f2af16f5c5d2f926d136fa02b41395..c646fa5c8a366f0224e1bab3e296a617f1991b83 100644 (file)
@@ -202,4 +202,12 @@ Bool Hostinfo_GetLoadAverage(uint32 *l);
 size_t Hostinfo_GetKernelZoneElemSize(char const *name);
 #endif
 
+#ifdef _WIN32
+static INLINE Bool
+Hostinfo_AtLeastVista(void)
+{
+   return (Hostinfo_GetOSType() >= OS_VISTA);
+}
+#endif
+
 #endif /* ifndef _HOSTINFO_H_ */