From 5b32ebeae6024a43633b8cbfcbdb08561396ccc0 Mon Sep 17 00:00:00 2001 From: borutr Date: Wed, 7 Aug 2002 21:33:37 +0000 Subject: [PATCH] - definition of PATH_MAX for MSC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2064 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- as/mcs51/asm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/as/mcs51/asm.h b/as/mcs51/asm.h index 5cfdab99..f90c8c2b 100644 --- a/as/mcs51/asm.h +++ b/as/mcs51/asm.h @@ -81,8 +81,13 @@ */ #include #ifndef PATH_MAX /* POSIX, but not required */ +#ifdef _MSC_VER /* Microsoft C */ +#include +#define PATH_MAX _MAX_PATH +#else #define PATH_MAX /* define a reasonable value */ #endif +#endif /* * Assembler definitions. -- 2.30.2