diff options
| -rw-r--r-- | nt/inc/ms-w32.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 4693900f2dc..e5d9fd3e78e 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -309,7 +309,12 @@ extern intptr_t _execvp (const char *, char **); | |||
| 309 | the code that references it is still compiled. */ | 309 | the code that references it is still compiled. */ |
| 310 | extern int execve (const char *, char * const *, char * const *); | 310 | extern int execve (const char *, char * const *, char * const *); |
| 311 | #else | 311 | #else |
| 312 | /* mingw.org's MinGW GCC 9.x has the same built-in prototype... */ | ||
| 313 | # if __GNUC__ >= 9 | ||
| 314 | extern int execve (const char *, char * const *, char * const *); | ||
| 315 | # else | ||
| 312 | extern intptr_t execve (const char *, char * const *, char * const *); | 316 | extern intptr_t execve (const char *, char * const *, char * const *); |
| 317 | # endif | ||
| 313 | #endif | 318 | #endif |
| 314 | #define tcdrain _commit | 319 | #define tcdrain _commit |
| 315 | #define fdopen _fdopen | 320 | #define fdopen _fdopen |