mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
[REACTOS] Improve handling of non-standard names
- Link oldnames instead of defining names - Define _CRT_DECLARE_NONSTDC_NAMES to 1 where needed - Remove header hacks
This commit is contained in:
parent
b707be90a1
commit
bf95874c2d
16 changed files with 31 additions and 22 deletions
|
@ -575,9 +575,6 @@ extern "C" {
|
|||
_In_z_ const char *_Str,
|
||||
_In_ size_t _MaxCount);
|
||||
|
||||
// __CRT_INLINE int __cdecl strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); }
|
||||
// __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); }
|
||||
|
||||
_CRTIMP
|
||||
_CRT_NONSTDC_DEPRECATE(_strnset)
|
||||
char*
|
||||
|
@ -1138,11 +1135,5 @@ extern "C" {
|
|||
}
|
||||
#endif
|
||||
|
||||
// HACK
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
#define stricmp _stricmp
|
||||
#define wcsicmp _wcsicmp
|
||||
|
||||
#include <sec_api/string_s.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue