forked from enlightenment/efl
alternative: using definitions to map ucrt
This commit is contained in:
parent
ea6d1c40ee
commit
cf62ea7bab
|
@ -1,37 +1,9 @@
|
||||||
#ifndef UNPOSIX_STRINGS_H
|
#ifndef UNPOSIX_STRINGS_H
|
||||||
#define UNPOSIX_STRINGS_H
|
#define UNPOSIX_STRINGS_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#define strncasecmp _strnicmp
|
||||||
#include <locale.h>
|
#define strcasecmp _stricmp
|
||||||
|
#define strncasecmp_l _strnicmp_l
|
||||||
inline int ffs(int i)
|
#define strcasecmp_l _strncmp_l
|
||||||
{
|
|
||||||
#warning ffs is not implemented.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline int strcasecmp(const char* s1, const char* s2)
|
|
||||||
{
|
|
||||||
#warning strcasecmp is not implemented.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline int strcasecmp_l(const char* s1, const char* s2, locale_t locale)
|
|
||||||
{
|
|
||||||
#warning strcasecmp_l is not implemented.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline int strncasecmp(const char* s1, const char* s2, size_t size)
|
|
||||||
{
|
|
||||||
#warning strncasecmp is not implemented.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline int strncasecmp_l(const char* s1, const char* s2, size_t size, locale_t locale)
|
|
||||||
{
|
|
||||||
#warning strncasecmp_l is not implemented.
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue