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
2
string.c
2
string.c
@ -448,6 +448,8 @@ search_nonascii(const char *p, const char *e)
|
|||||||
# define NONASCII_MASK UINT64_C(0x8080808080808080)
|
# define NONASCII_MASK UINT64_C(0x8080808080808080)
|
||||||
# elif SIZEOF_UINTPTR_T == 4
|
# elif SIZEOF_UINTPTR_T == 4
|
||||||
# define NONASCII_MASK UINT32_C(0x80808080)
|
# define NONASCII_MASK UINT32_C(0x80808080)
|
||||||
|
# else
|
||||||
|
# error "don't know what to do."
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# if SIZEOF_UINTPTR_T == 8
|
# if SIZEOF_UINTPTR_T == 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user