summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pettersson <boretrk@hotmail.com>2021-08-08 14:35:07 +0200
committerPeter Pettersson <boretrk@hotmail.com>2021-08-08 14:35:07 +0200
commit2c2cb3f3ecfac356bd5168125b1afd718aef6917 (patch)
treecd1bab6724e5b57d355913114e1256211db73054
parente65229ee972c113413eeca77853213352129bd47 (diff)
downloadlibgit2-2c2cb3f3ecfac356bd5168125b1afd718aef6917.tar.gz
amiga: use ';' as path list separator on AmigaOS
Like on Windows ':' is used for volume names in absolute paths.
-rw-r--r--include/git2/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 4402dfda8..d278c01b6 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -91,10 +91,10 @@ GIT_BEGIN_DECL
/**
* The separator used in path list strings (ie like in the PATH
- * environment variable). A semi-colon ";" is used on Windows, and
- * a colon ":" for all other systems.
+ * environment variable). A semi-colon ";" is used on Windows and
+ * AmigaOS, and a colon ":" for all other systems.
*/
-#ifdef GIT_WIN32
+#if defined(GIT_WIN32) || defined(AMIGA)
#define GIT_PATH_LIST_SEPARATOR ';'
#else
#define GIT_PATH_LIST_SEPARATOR ':'