mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
should cause preprocess error as other cases
* string.c (NONASCII_MASK): should cause preprocess error immediately if the compiler does not satisfy our assumptions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ad95486e6
commit
b87571100a
1 changed files with 2 additions and 0 deletions
2
string.c
2
string.c
|
@ -448,6 +448,8 @@ search_nonascii(const char *p, const char *e)
|
|||
# define NONASCII_MASK UINT64_C(0x8080808080808080)
|
||||
# elif SIZEOF_UINTPTR_T == 4
|
||||
# define NONASCII_MASK UINT32_C(0x80808080)
|
||||
# else
|
||||
# error "don't know what to do."
|
||||
# endif
|
||||
#else
|
||||
# if SIZEOF_UINTPTR_T == 8
|
||||
|
|
Loading…
Add table
Reference in a new issue