From: warwick Date: Thu, 11 Sep 2003 04:23:52 +0000 (+0000) Subject: MacOSX can handle >14 character names. X-Git-Tag: MOVE2GIT~1792 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0460cc98247ae45871b9b9a69f4d43fef4a8a869;p=nethack MacOSX can handle >14 character names. I think the #if is inverted really - what DOES have that limit? --- diff --git a/sys/unix/unixunix.c b/sys/unix/unixunix.c index 6950b820b..f6c8b4bae 100644 --- a/sys/unix/unixunix.c +++ b/sys/unix/unixunix.c @@ -197,7 +197,7 @@ register char *s; while((lp=index(s, '.')) || (lp=index(s, '/')) || (lp=index(s,' '))) *lp = '_'; -#if defined(SYSV) && !defined(AIX_31) && !defined(SVR4) && !defined(LINUX) +#if defined(SYSV) && !defined(AIX_31) && !defined(SVR4) && !defined(LINUX) && !defined(__APPLE__) /* avoid problems with 14 character file name limit */ # ifdef COMPRESS /* leave room for .e from error and .Z from compress appended to