Skip to content

Commit

Permalink
If defined(__CUDA_ARCH__) don't define 128 bit numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed May 29, 2024
1 parent 75f69c9 commit 02e6c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/jsoncons/config/compiler_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
// Follows boost

// gcc and clang
#if !defined(__CUDA_ARCH__)
#if (defined(__clang__) || defined(__GNUC__)) && defined(__cplusplus)
#if defined(__SIZEOF_INT128__) && !defined(_MSC_VER)
# define JSONCONS_HAS_INT128
Expand Down Expand Up @@ -329,6 +330,7 @@
#endif
#endif
#endif
#endif // __CUDA_ARCH__

// Follows boost config/detail/suffix.hpp
#if defined(JSONCONS_HAS_INT128) && defined(__cplusplus)
Expand Down

0 comments on commit 02e6c5e

Please sign in to comment.