From 2c2cb3f3ecfac356bd5168125b1afd718aef6917 Mon Sep 17 00:00:00 2001 From: Peter Pettersson Date: Sun, 8 Aug 2021 14:35:07 +0200 Subject: [PATCH] amiga: use ';' as path list separator on AmigaOS Like on Windows ':' is used for volume names in absolute paths. --- include/git2/common.h | 6 +++--- 1 file 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 ':'