projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace non-ANSI strcmpi by as_strcmpi
[fw/sdcc]
/
as
/
mcs51
/
aslink.h
diff --git
a/as/mcs51/aslink.h
b/as/mcs51/aslink.h
index 9ce5dc4c6f4984c3ba1402dc7bff8f9149c438d3..6928054f2e9d00116254e630bc5c0f4bc5b1e66b 100644
(file)
--- a/
as/mcs51/aslink.h
+++ b/
as/mcs51/aslink.h
@@
-80,11
+80,16
@@
#endif
/*
#endif
/*
- * PATH_
AM
X
+ * PATH_
MA
X
*/
#include <limits.h>
#ifndef PATH_MAX /* POSIX, but not required */
*/
#include <limits.h>
#ifndef PATH_MAX /* POSIX, but not required */
-#define PATH_MAX 255 /* define a reasonable value */
+ #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
/*
#endif
/*
@@
-449,7
+454,7
@@
extern char *rp; /* pointer into the LST file
extern char rb[NINPUT]; /* LST file text line being
* address relocated
*/
extern char rb[NINPUT]; /* LST file text line being
* address relocated
*/
-extern
char
ctype[]; /* array of character types, one per
+extern
unsigned char
ctype[]; /* array of character types, one per
* ASCII character
*/
* ASCII character
*/
@@
-749,10
+754,9
@@
extern char *StoreString( char *str );
/* lknoice.c */
extern void DefineNoICE( char *name, Addr_T value, int page );
/* lknoice.c */
extern void DefineNoICE( char *name, Addr_T value, int page );
-/* JCF: lk
smry
.c */
+/* JCF: lk
mem
.c */
extern int summary(struct area * xp);
extern int summary(struct area * xp);
-/* SD added this to change
- strcmpi --> strcmp (strcmpi NOT ANSI) */
-#define strcmpi strcmp
-
+/* JCF: lkaomf51.c */
+extern void SaveLinkedFilePath(char * filepath);
+extern void CreateAOMF51(void);