mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
7aafd3ed0e
commit
865a2027a1
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
|||
#include "ruby/re.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#undef strncasecmp
|
||||
#define strncasecmp STRNCASECMP
|
||||
|
||||
RUBY_EXTERN VALUE rb_int_positive_pow(long x, unsigned long y);
|
||||
RUBY_EXTERN unsigned long ruby_scan_digits(const char *str, ssize_t len, int base, size_t *retlen, int *overflow);
|
||||
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
#include "ruby/re.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#undef strncasecmp
|
||||
#define strncasecmp STRNCASECMP
|
||||
|
||||
static const char *day_names[] = {
|
||||
"Sunday", "Monday", "Tuesday", "Wednesday",
|
||||
"Thursday", "Friday", "Saturday",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue