z80 linker build using MSVC
[fw/sdcc] / link / z80 / aslink.h
index d597c2388a8d4ceadd4f28bd17597c5984a9ee93..bdb0404ab6236b2fad91f60a663612cca4d90a1b 100644 (file)
  */
 #include <limits.h>
 
+#ifndef PATH_MAX
+ #if defined(__BORLANDC__) || defined(_MSC_VER)
+  #include <stdlib.h>
+  #define PATH_MAX     _MAX_PATH
+ #else
+  #define PATH_MAX     255     /* define a reasonable value */
+ #endif
+#endif
+
 #define        VERSION "V01.75"
 
 /*