dev strcasecmp
This commit is contained in:
parent
c91872cc96
commit
bdf7e9c8dd
@ -6,8 +6,12 @@
|
||||
#include <assert.h>
|
||||
#include "sysenv.h"
|
||||
#if _OS_WIN
|
||||
#ifndef strcasecmp
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
#ifndef strncasecmp
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
#elif _OS_LINUX
|
||||
#include <strings.h>
|
||||
#else
|
||||
|
@ -18,8 +18,12 @@
|
||||
#include <Winsock2.h>
|
||||
#include <Ws2tcpip.h>
|
||||
#include <CoreWindow.h>
|
||||
#ifndef strcasecmp
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
#ifndef strncasecmp
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
//#define socklen_t int
|
||||
#elif LINUX_PART
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user