Skip to content

Commit 2c2cb3f

Browse files
committed
amiga: use ';' as path list separator on AmigaOS
Like on Windows ':' is used for volume names in absolute paths.
1 parent e65229e commit 2c2cb3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/git2/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ GIT_BEGIN_DECL
9191

9292
/**
9393
* The separator used in path list strings (ie like in the PATH
94-
* environment variable). A semi-colon ";" is used on Windows, and
95-
* a colon ":" for all other systems.
94+
* environment variable). A semi-colon ";" is used on Windows and
95+
* AmigaOS, and a colon ":" for all other systems.
9696
*/
97-
#ifdef GIT_WIN32
97+
#if defined(GIT_WIN32) || defined(AMIGA)
9898
#define GIT_PATH_LIST_SEPARATOR ';'
9999
#else
100100
#define GIT_PATH_LIST_SEPARATOR ':'

0 commit comments

Comments
 (0)