diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-10 03:54:02 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-10 03:54:02 +0000 |
commit | b87571100aa71606fed0fafc6608a277efa6fdcf (patch) | |
tree | 039e7b1c87e4b4ec79edc108148c4a117b12d97a | |
parent | 5ad95486e63675b2bb3ad665bb2b84eb260c6f29 (diff) | |
download | ruby-b87571100aa71606fed0fafc6608a277efa6fdcf.tar.gz |
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
-rw-r--r-- | string.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |