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:
Johannes Schindelin
2018-11-27 22:46:26 +01:00
parent 0f48580a0a
commit 6a6158dc2f

View File

@@ -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;