Skip to content

Commit

Permalink
fixup! mingw: introduce code to detect whether we're inside a Windows…
Browse files Browse the repository at this point in the history
… container

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Nov 28, 2018
1 parent 0f48580 commit 6a6158d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/mingw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a6158d

Please sign in to comment.