mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-30 06:38:14 +00:00
I screwed up the macros, so of course strtol didn't work. *sigh*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
111bd01c11
commit
fe83ab527d
@ -18,9 +18,9 @@ void *malloc(unsigned);
|
||||
void free(void *);
|
||||
|
||||
#define isspace(x) ((x) == ' ' || (x) == '\t' || (x) == '\n')
|
||||
#define isdigit(x) ((x) >= '0' || (x) <= '9')
|
||||
#define isupper(x) ((x) >= 'A' || (x) <= 'Z')
|
||||
#define islower(x) ((x) >= 'a' || (x) <= 'z')
|
||||
#define isdigit(x) ((x) >= '0' && (x) <= '9')
|
||||
#define isupper(x) ((x) >= 'A' && (x) <= 'Z')
|
||||
#define islower(x) ((x) >= 'a' && (x) <= 'z')
|
||||
#define isalpha(x) (isupper(x) || islower(x))
|
||||
|
||||
// The puts() function writes the string pointed to by s, followed by a
|
||||
|
Loading…
x
Reference in New Issue
Block a user