Mercurial > dwindows
changeset 1909:cb5f9aa9aebb
Added detection support for Windows 10.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 19 Sep 2015 10:47:46 +0000 |
parents | 7e23f3dccb6b |
children | 000a94a1ddc1 |
files | dwcompat.c dwcompat.h win/dw.c |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dwcompat.c Sat Sep 19 10:14:03 2015 +0000 +++ b/dwcompat.c Sat Sep 19 10:47:46 2015 +0000 @@ -1,4 +1,4 @@ -/* $Id: dwcompat.c 1717 2012-05-05 22:44:27Z bsmith $ */ +/* $Id$ */ #undef UNICODE #undef _UNICODE
--- a/dwcompat.h Sat Sep 19 10:14:03 2015 +0000 +++ b/dwcompat.h Sat Sep 19 10:47:46 2015 +0000 @@ -1,4 +1,4 @@ -/* $Id: dwcompat.h 1722 2012-05-08 17:14:40Z bsmith $ */ +/* $Id$ */ #ifndef _DWCOMPAT_H #define _DWCOMPAT_H
--- a/win/dw.c Sat Sep 19 10:14:03 2015 +0000 +++ b/win/dw.c Sat Sep 19 10:47:46 2015 +0000 @@ -2,7 +2,7 @@ * Dynamic Windows: * A GTK like implementation of the Win32 GUI * - * (C) 2000-2013 Brian Smith <brian@dbsoft.org> + * (C) 2000-2015 Brian Smith <brian@dbsoft.org> * (C) 2003-2011 Mark Hessling <mark@rexx.org> * */ @@ -11828,6 +11828,8 @@ strcpy(env->osName, "Windows 7"); else if(env->MajorVersion == 6 && env->MinorVersion > 1) strcpy(env->osName, "Windows 8"); + else if(env->MajorVersion == 10) + strcpy(env->osName, "Windows 10"); else strcpy(env->osName, "Windows NT");