diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-04-28 14:58:38 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-04-28 14:58:38 +0100 |
commit | 6b970e749e720404d08cec565fe0157d20fdeaef (patch) | |
tree | dc80919782dcd3d7da2bca104a85adde996cac94 /src/util.c | |
parent | 239edccf43ff39e93a96c4c75af9e6772f55efe2 (diff) |
First pass of compilable 65c816 mode.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -136,6 +136,12 @@ int CompareString(const char *a, const char *b) } +int CompareChar(char a, char b) +{ + return tolower((unsigned char)a) == tolower((unsigned char)b); +} + + int CompareStart(const char *a, const char *b) { while(*a && *b) |