]> granicus.if.org Git - nethack/commit
build fix for files.c
authornethack.allison <nethack.allison>
Tue, 23 Jul 2002 04:51:28 +0000 (04:51 +0000)
committernethack.allison <nethack.allison>
Tue, 23 Jul 2002 04:51:28 +0000 (04:51 +0000)
commitd9dad62838d913c6b810d737a9ae68fcdf632ec0
treeed8b8a6bc0bd1ec6234b132f0d4d9247474a9ac7
parent7b5618e03c7b83fa05bee2ab80a6548ccbddba5c
build fix for files.c

Warwick's plname files.c addition broke the
build on both win32 and CE because NAMES_MAX
wasn't defined.

In win32 it was defined in limits.h, but only
when _POSIX_ was defined.

In CE it just didn't exist in any of the
header files.  Since it was also complaining
about strdup(), I #ifdef'd Warwick's code out
under CE.
src/files.c