X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=util.h;h=c077b87750b0da814066cb66b26fc126c3137f96;hb=a344be1068c2cd951a34c870c809266dc300b723;hp=d188e34e2e82af0e76c18421c112c5eda46d426d;hpb=084592ab0b76f3cbd4d089afb08ccea7ba1c9dd8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/util.h b/util.h index d188e34..c077b87 100644 --- a/util.h +++ b/util.h @@ -1,6 +1,6 @@ /* util.h * - * Copyright (c) 1991-2001, Larry Wall + * Copyright (c) 1991-2002, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -21,6 +21,12 @@ || ((f)[0] && (f)[1] == ':') /* drive name */ \ || ((f)[0] == '\\' && (f)[1] == '\\')) /* UNC path */ # else /* !WIN32 */ +# ifdef NETWARE +# define PERL_FILE_IS_ABSOLUTE(f) \ + (((f)[0] && (f)[1] == ':') /* drive name */ \ + || ((f)[0] == '\\' && (f)[1] == '\\') /* UNC path */ \ + || ((f)[3] == ':')) /* volume name, currently only sys */ +# else /* !NETWARE */ # if defined( DOSISH) || defined(EPOC) # define PERL_FILE_IS_ABSOLUTE(f) \ (*(f) == '/' \ @@ -32,5 +38,6 @@ # define PERL_FILE_IS_ABSOLUTE(f) (*(f) == '/') # endif /* MACOS_TRADITIONAL */ # endif /* DOSISH */ +# endif /* NETWARE */ # endif /* WIN32 */ #endif /* VMS */