aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/cstdlib
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/cstdlib')
-rw-r--r--system/include/libcxx/cstdlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libcxx/cstdlib b/system/include/libcxx/cstdlib
index 0a96fb0a..152b891d 100644
--- a/system/include/libcxx/cstdlib
+++ b/system/include/libcxx/cstdlib
@@ -155,7 +155,7 @@ using ::aligned_alloc;
#endif
// MSVCRT already has the correct prototype in <stdlib.h> #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);}