mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
fix for NT/windows detection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37572 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41a59dc49e
commit
629f28cd7e
1 changed files with 1 additions and 1 deletions
|
@ -2543,7 +2543,7 @@ GSBreakTime(NSTimeInterval when, NSInteger*year, NSInteger*month, NSInteger*day,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (ERROR_SUCCESS == RegOpenKeyExW(HKEY_LOCAL_MACHINE,
|
if (ERROR_SUCCESS == RegOpenKeyExW(HKEY_LOCAL_MACHINE,
|
||||||
L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones",
|
L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Time Zones",
|
||||||
0,
|
0,
|
||||||
KEY_READ,
|
KEY_READ,
|
||||||
®DirKey))
|
®DirKey))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue