12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using _STLP_VENDOR_CSTD::size_t;
- #if !defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
- # if defined (__MSL__) && __MC68K__ && !_No_BlockMove && __dest_os == __mac_os
- # undef memcpy
- # undef memmove
- inline void* memcpy(void* dst, const void* src, size_t len)
- { return _STLP_VENDOR_CSTD::__memcpy(dst, src, len); }
- inline void* memmove(void* dst, const void* src, size_t len)
- { return _STLP_VENDOR_CSTD::__memmove(dst, src, len); }
- # else
- using _STLP_VENDOR_CSTD::memmove;
- using _STLP_VENDOR_CSTD::memcpy;
- # endif
- # if !defined (_STLP_WCE)
- // these functions just don't exist on Windows CE
- using _STLP_VENDOR_CSTD::strcoll;
- using _STLP_VENDOR_CSTD::strerror;
- using _STLP_VENDOR_CSTD::strxfrm;
- # endif
- # if defined (__BORLANDC__)
- extern "C++" {
- # endif
- using _STLP_VENDOR_CSTD::memchr;
- using _STLP_VENDOR_CSTD::strchr;
- using _STLP_VENDOR_CSTD::strpbrk;
- using _STLP_VENDOR_CSTD::strrchr;
- using _STLP_VENDOR_CSTD::strstr;
- # if defined (__BORLANDC__)
- }
- # endif
- inline char* strstr(char* __s1, const char* __s2)
- {
- const char* s = __s1;
- const char* p = _STLP_VENDOR_CSTD::strstr(s, __s2);
- if (!p) return NULL;
- return &__s1[p - s];
- }
- using _STLP_VENDOR_CSTD::memcmp;
- using _STLP_VENDOR_CSTD::memset;
- #if !defined (_STLP_SGX_CONFIG)
- using _STLP_VENDOR_CSTD::strcat;
- #endif
- # if !defined (strcmp) || !defined (__BORLANDC__)
- using _STLP_VENDOR_CSTD::strcmp;
- # else
- using ::strcmp;
- # endif
- #if !defined (_STLP_SGX_CONFIG)
- # if !defined (strcpy) || !defined (__BORLANDC__)
- using _STLP_VENDOR_CSTD::strcpy;
- # else
- using ::strcpy;
- # endif
- #endif /* !_STLP_SGX_CONFIG */
- using _STLP_VENDOR_CSTD::strcspn;
- using _STLP_VENDOR_CSTD::strlen;
- using _STLP_VENDOR_CSTD::strncat;
- using _STLP_VENDOR_CSTD::strncmp;
- using _STLP_VENDOR_CSTD::strncpy;
- using _STLP_VENDOR_CSTD::strspn;
- using _STLP_VENDOR_CSTD::strtok;
- #endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
|