diff options
author | Stefan Bellon <[email protected]> | 2002-10-28 13:27:18 +0000 |
---|---|---|
committer | Stefan Bellon <[email protected]> | 2002-10-28 13:27:18 +0000 |
commit | 191795d14b2a4570b9022ee8f4a19a9249c86ff7 (patch) | |
tree | 8a6f91e393e1876dae40b7340c718cb3317a5aa0 /util/fileutil.c | |
parent | * gnupg.spec.in: Use new path for keyserver helpers, /usr/lib is no longer (diff) | |
download | gnupg-191795d14b2a4570b9022ee8f4a19a9249c86ff7.tar.gz gnupg-191795d14b2a4570b9022ee8f4a19a9249c86ff7.zip |
filetype support for RISC OS
Diffstat (limited to 'util/fileutil.c')
-rw-r--r-- | util/fileutil.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fileutil.c b/util/fileutil.c index b63bbd3b0..b7e7f233b 100644 --- a/util/fileutil.c +++ b/util/fileutil.c @@ -44,10 +44,12 @@ make_basename(const char *filepath) char *p; if ( !(p=strrchr(filepath, DIRSEP_C)) ) - #ifdef HAVE_DRIVE_LETTERS +#ifdef HAVE_DRIVE_LETTERS if ( !(p=strrchr(filepath, '\\')) ) if ( !(p=strrchr(filepath, ':')) ) - #endif +#elif defined(__riscos__) + if ( !(p=strrchr(filepath, ':')) ) +#endif { return m_strdup(filepath); } |