Move uncaught_exeption() definition inside the #ifdef block like uncaught_exceptions()

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@238879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2015-06-02 22:25:23 +00:00
parent c2a3137671
commit 22f6c0532d
2 changed files with 24 additions and 5 deletions

View File

@@ -67,15 +67,34 @@ size_t strlen(const char* s);
_LIBCPP_BEGIN_NAMESPACE_STD
using ::size_t;
using ::memcpy;
using ::memmove;
// using ::memcpy;
inline _LIBCPP_INLINE_VISIBILITY
void* memcpy(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
{ return ::memcpy(__s1, __s2, __n); }
// using ::memmove;
inline _LIBCPP_INLINE_VISIBILITY
void* memmove(void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
{ return ::memmove(__s1, __s2, __n); }
using ::strcpy;
using ::strncpy;
using ::strcat;
using ::strncat;
using ::memcmp;
// using ::memcmp;
inline _LIBCPP_INLINE_VISIBILITY
int memcmp(const void* __s1, const void* __s2, size_t __n) __attribute__((nonnull(1, 2)))
{ return ::memcmp(__s1, __s2, __n); }
using ::strcmp;
using ::strncmp;
// using ::strncmp;
inline _LIBCPP_INLINE_VISIBILITY
int strncmp(const char* __s1, const char* __s2, size_t __n) __attribute__((nonnull(1, 2)))
{ return ::memcmp(__s1, __s2, __n); }
using ::strcoll;
using ::strxfrm;