mirror of
https://github.com/git/git.git
synced 2026-01-20 07:31:35 +00:00
fixup! mingw: introduce code to detect whether we're inside a Windows container
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -3270,7 +3270,7 @@ int is_inside_windows_container(void)
|
||||
return inside_container;
|
||||
|
||||
inside_container = ERROR_SUCCESS ==
|
||||
RegOpenKeyEx(HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &handle);
|
||||
RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &handle);
|
||||
RegCloseKey(handle);
|
||||
|
||||
return inside_container;
|
||||
|
||||
Reference in New Issue
Block a user