diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 6d494b7ef..196356288 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -459,7 +459,7 @@ pid_t mingw_spawn_1(int mode, const char *cmd, const char *const *argv, const ch | |||
459 | 459 | ||
460 | const char * next_path_sep(const char *path); | 460 | const char * next_path_sep(const char *path); |
461 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') | 461 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') |
462 | #define is_absolute_path(path) ((path)[0] == '/' || has_dos_drive_prefix(path)) | 462 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) |
463 | 463 | ||
464 | /* | 464 | /* |
465 | * helpers | 465 | * helpers |