Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Windows: Treat Windows style path names.
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 9dc733e56ceb2c2e95dfc3b14c29e825b3c25615..ab762c79eedb6ba9f539f6679f0d1231d9206f3f 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-114,6
+114,14
@@
#define PATH_SEP ':'
#endif
+#ifndef has_dos_drive_prefix
+#define has_dos_drive_prefix(path) 0
+#endif
+
+#ifndef is_dir_sep
+#define is_dir_sep(c) ((c) == '/')
+#endif
+
#ifdef __GNUC__
#define NORETURN __attribute__((__noreturn__))
#else