Mercurial > dwindows
diff win/dw.c @ 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 | 09860ba329a4 |
children | 000a94a1ddc1 |
line wrap: on
line diff
--- 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");