Skip to content

Commit

Permalink
Do not pull in abs from global namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Dec 13, 2024
1 parent 178184d commit 265bda0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libcudacxx/include/cuda/std/detail/libcxx/include/cmath
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ long double truncl(long double x);
#include <cuda/std/__cmath/logarithms.h>
#include <cuda/std/__cmath/min_max.h>
#include <cuda/std/__cmath/traits.h>
#include <cuda/std/__cstdlib/abs.h>
#include <cuda/std/limits>
#include <cuda/std/type_traits>
#include <cuda/std/version>
Expand Down Expand Up @@ -389,10 +390,6 @@ using ::atanhf;
using ::hypot;
using ::hypotf;

#ifndef _AIX
using ::abs;
#endif

#if !_CCCL_COMPILER(NVRTC)

using ::double_t;
Expand Down

0 comments on commit 265bda0

Please sign in to comment.