mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 18:14:56 +08:00
b4030cdbbe
* Use TCP sockets on Windows with custom HANDLE <-> FD translation layer * Get Plasma working on Windows Co-authored-by: Mehrdad <noreply@github.com>
13 lines
266 B
C
13 lines
266 B
C
#ifndef STRINGS_H
|
|
#define STRINGS_H
|
|
|
|
#include <string.h>
|
|
|
|
static int strcasecmp(const char *s1, const char *s2) { return _stricmp(s1, s2); }
|
|
|
|
static int strncasecmp(const char *s1, const char *s2, size_t n) {
|
|
return _strnicmp(s1, s2, n);
|
|
}
|
|
|
|
#endif /* STRINGS_H */
|