[ruby/io-console] Use strcasecmp
https://github.com/ruby/io-console/commit/f8ec8a0617
This commit is contained in:
parent
25c2aa0a1c
commit
f4f8aa0f89
@ -1071,6 +1071,9 @@ console_scroll(VALUE io, int line)
|
|||||||
return io;
|
return io;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define GPERF_DOWNCASE 1
|
||||||
|
#define GPERF_CASE_STRCMP 1
|
||||||
|
#define gperf_case_strcmp strcasecmp
|
||||||
#include "win32_vk.inc"
|
#include "win32_vk.inc"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -519,7 +519,7 @@ struct vktable;
|
|||||||
|
|
||||||
#ifndef GPERF_DOWNCASE
|
#ifndef GPERF_DOWNCASE
|
||||||
#define GPERF_DOWNCASE 1
|
#define GPERF_DOWNCASE 1
|
||||||
static const unsigned char gperf_downcase[256] =
|
static unsigned char gperf_downcase[256] =
|
||||||
{
|
{
|
||||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||||||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user