fixed compilation with Borland C
[fw/sdcc] / as / mcs51 / asm.h
index b66ab5118009f7ce80dd09f456b6b62a693bd70b..8ec9a6193ab8444681b60101608a2add66805520 100644 (file)
@@ -81,7 +81,7 @@
  */
 #include <limits.h>
 #ifndef PATH_MAX               /* POSIX, but not required   */
-#ifdef _MSC_VER                        /* Microsoft C */
+#if defined(_MSC_VER) || defined(__BORLANDC__)  /* Microsoft C or Borland C*/
 #include <stdlib.h>
 #define PATH_MAX       _MAX_PATH
 #else