mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00

This commit is the initial sync of all files from ruby/yarp into ruby/ruby. Notably, it does the following: * Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp * Sync all ruby/yarp/src/ files to ruby/ruby/yarp/ * Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
20 lines
397 B
C
20 lines
397 B
C
#ifndef YARP_MISSING_H
|
|
#define YARP_MISSING_H
|
|
|
|
#include "yarp/defines.h"
|
|
|
|
#include <ctype.h>
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
|
|
const char * yp_strnstr(const char *haystack, const char *needle, size_t length);
|
|
|
|
int yp_strncasecmp(const char *string1, const char *string2, size_t length);
|
|
|
|
#ifndef HAVE_STRNCASECMP
|
|
#ifndef strncasecmp
|
|
#define strncasecmp yp_strncasecmp
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|