diff options
Diffstat (limited to 'compat/mingw.h')
-rw-r--r-- | compat/mingw.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h index 685cd2c3d4..3036980ca2 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -334,6 +334,13 @@ char **make_augmented_environ(const char *const *vars); void free_environ(char **env); /* + * A critical section used in the implementation of the spawn + * functions (mingw_spawnv[p]e()) and waitpid(). Intialised in + * the replacement main() macro below. + */ +extern CRITICAL_SECTION pinfo_cs; + +/* * A replacement of main() that ensures that argv[0] has a path * and that default fmode and std(in|out|err) are in binary mode */ |