summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-09 15:12:10 -0400
committerGitHub <noreply@github.com>2021-08-09 15:12:10 -0400
commit962d78d3894aeed24fb8042db7c05e26aaa3a33c (patch)
treecd1bab6724e5b57d355913114e1256211db73054
parente65229ee972c113413eeca77853213352129bd47 (diff)
parent2c2cb3f3ecfac356bd5168125b1afd718aef6917 (diff)
downloadlibgit2-962d78d3894aeed24fb8042db7c05e26aaa3a33c.tar.gz
Merge pull request #5978 from boretrk/amiga
amiga: use ';' as path list separator on AmigaOS
-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 ':'