projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
z80 linker build using MSVC
[fw/sdcc]
/
link
/
z80
/
aslink.h
diff --git
a/link/z80/aslink.h
b/link/z80/aslink.h
index d597c2388a8d4ceadd4f28bd17597c5984a9ee93..bdb0404ab6236b2fad91f60a663612cca4d90a1b 100644
(file)
--- a/
link/z80/aslink.h
+++ b/
link/z80/aslink.h
@@
-14,6
+14,15
@@
*/
#include <limits.h>
*/
#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"
/*
#define VERSION "V01.75"
/*