From 7f76450ee9f14ed646a38f43a09dc49dde413281 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 14 Aug 2013 18:00:20 +0000 Subject: Xing Xue: port to IBM XLC++/AIX. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@188396 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/cstdlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cstdlib') diff --git a/include/cstdlib b/include/cstdlib index 0a96fb0a8..152b891de 100644 --- a/include/cstdlib +++ b/include/cstdlib @@ -155,7 +155,7 @@ using ::aligned_alloc; #endif // MSVCRT already has the correct prototype in #ifdef __cplusplus -#if !defined(_LIBCPP_MSVCRT) && !defined(__sun__) +#if !defined(_LIBCPP_MSVCRT) && !defined(__sun__) && !defined(_AIX) inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);} #ifndef _LIBCPP_HAS_NO_LONG_LONG inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);} -- cgit v1.2.3