Skip to content

Commit 0a67710

Browse files
committed
fixup??? mingw: introduce code to detect whether we're inside a Windows container
Header refactoring. ¯\_(ツ)_/¯ Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 67b9f9f commit 0a67710

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compat/mingw.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,8 @@ int mingw_have_unix_sockets(void);
288288
#undef have_unix_sockets
289289
#define have_unix_sockets mingw_have_unix_sockets
290290
#endif
291+
292+
/*
293+
* Check current process is inside Windows Container.
294+
*/
295+
int is_inside_windows_container(void);

0 commit comments

Comments
 (0)