From: borutr Date: Wed, 7 Aug 2002 21:33:37 +0000 (+0000) Subject: - definition of PATH_MAX for MSC X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=5b32ebeae6024a43633b8cbfcbdb08561396ccc0;p=fw%2Fsdcc - definition of PATH_MAX for MSC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2064 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- 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.