diff options
author | Earnie Boyd <earnie@users.sf.net> | 2000-11-21 02:50:03 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2000-11-21 02:50:03 +0000 |
commit | 6126c12345d31cdd4714b3bb40ba54f13347016d (patch) | |
tree | 90236da9edcf2f702e06f006f9eac38d53a6aac4 /winsup/mingw/include/string.h | |
parent | d5b692284b02ca019ed50fa33790c38f5c905d00 (diff) | |
download | cygnal-6126c12345d31cdd4714b3bb40ba54f13347016d.tar.gz cygnal-6126c12345d31cdd4714b3bb40ba54f13347016d.tar.bz2 cygnal-6126c12345d31cdd4714b3bb40ba54f13347016d.zip |
* include/direct.h: add guard around MSVCRT-only prototytpes
* include/io.h: add __int64 struct definitions and function prototypes;
add guard for MSVCRT-only prototypes
* include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
* include/stdio.h: add wchar function prototypes (__MSVCRT__);
put wchar functions together to make sync with wchar.h easier
* include/stdlib.h: add wide char functions (__MSVCRT__)
* include/string.h: add string collation functions ( __MSVCRT__)
* include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
* include/tchar.h: add macros and macro function definitions
* include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
enclose more functions in __MSVCRT__ guard;
some oldname wide char function prototypes #if (0)'d
* profile/gmon.h: add guard around BSD-ish typedefs
Diffstat (limited to 'winsup/mingw/include/string.h')
-rw-r--r-- | winsup/mingw/include/string.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index 322d6b626..55aa0bfcb 100644 --- a/winsup/mingw/include/string.h +++ b/winsup/mingw/include/string.h @@ -98,8 +98,12 @@ unsigned char* _mbschr (unsigned char*, unsigned char*); unsigned char* _mbsncat (unsigned char*, const unsigned char*, size_t); unsigned char* _mbstok (unsigned char*, unsigned char*); -#endif /* Not __STRICT_ANSI__ */ +#ifdef __MSVCRT__ +int _strncoll(const char*, const char*, size_t); +int _strnicoll(const char*, const char*, size_t); +#endif +#endif /* Not __STRICT_ANSI__ */ /* * Unicode versions of the standard calls. @@ -122,7 +126,6 @@ wchar_t* wcsstr(const wchar_t*, const wchar_t*); wchar_t* wcstok(wchar_t*, const wchar_t*); size_t wcsxfrm(wchar_t*, const wchar_t*, size_t); - #ifndef __STRICT_ANSI__ /* * Unicode versions of non-ANSI functions provided by CRTDLL. @@ -141,6 +144,12 @@ wchar_t* _wcsrev (wchar_t*); wchar_t* _wcsset (wchar_t*, wchar_t); wchar_t* _wcsupr (wchar_t*); +#ifdef __MSVCRT__ +int _wcsncoll(const wchar_t*, const wchar_t*, size_t); +int _wcsnicoll(const wchar_t*, const wchar_t*, size_t); +#endif + + #endif /* Not __STRICT_ANSI__ */ |