diff options
author | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-31 13:36:19 +0000 |
---|---|---|
committer | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-31 13:36:19 +0000 |
commit | e6775cc1933ffcfa07235a1c030aad4ed88fa1bf (patch) | |
tree | 20218bc83e8a04725314349d26f03442a8991ec1 /wince/Makefile.sub | |
parent | 0dfe20d3d4868bd8872e9648ea1c9e495ab537eb (diff) | |
download | ruby-e6775cc1933ffcfa07235a1c030aad4ed88fa1bf.tar.gz |
* wince/string_wce.c (strrchr): should decrement pointer.
* wince/Makefile.sub: correct a range of isdigit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/Makefile.sub')
-rw-r--r-- | wince/Makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub index f77e31cc6f..905c479308 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -313,7 +313,7 @@ $(BANG)endif #if _WIN32_WCE < 300 #define isascii(c) ( (c>=0x00&&c<=0x7f)?1:0 ) #define isspace(c) ( ((c>=0x09&&c<=0x0d)||c==0x20)?1:0 ) - #define isdigit(c) ( (c>=0x00&&c<=0x09)?1:0 ) + #define isdigit(c) ( (c>=0x30&&c<=0x39)?1:0 ) #define isupper(c) ( (c>='A'&&c<='Z')?1:0 ) #define isalpha(c) ( ((c>='A'&&c<='Z')||(c>='a'&&c<='z'))?1:0 ) #define isprint(c) ( (c>=0x20&&c<=0x7e)?1:0 ) |