diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 6ace91470..06fb3b289 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -518,6 +518,8 @@ int utimes(const char *file_name, const struct timeval times[2]); | |||
518 | * MinGW specific | 518 | * MinGW specific |
519 | */ | 519 | */ |
520 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') | 520 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') |
521 | #define is_unc_path(x) (strlen(x) > 4 && is_dir_sep(x[0]) && \ | ||
522 | is_dir_sep(x[1]) && !is_dir_sep(x[2])) | ||
521 | 523 | ||
522 | pid_t FAST_FUNC mingw_spawn(char **argv); | 524 | pid_t FAST_FUNC mingw_spawn(char **argv); |
523 | pid_t FAST_FUNC mingw_spawn_detach(char **argv); | 525 | pid_t FAST_FUNC mingw_spawn_detach(char **argv); |
@@ -580,3 +582,4 @@ int skip_ansi_emulation(int reset); | |||
580 | int unix_path(const char *path); | 582 | int unix_path(const char *path); |
581 | int has_path(const char *file); | 583 | int has_path(const char *file); |
582 | int is_relative_path(const char *path); | 584 | int is_relative_path(const char *path); |
585 | char *get_last_slash(const char *path); | ||