Skip to content

Commit 0f90fc5

Browse files
committed
guarding UINT64_C in nanovdb (for NVRTC users who have it defined already)
Signed-off-by: Brian Sharpe <brisharpe@yahoo.com>
1 parent 45d2ce4 commit 0f90fc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nanovdb/nanovdb/NanoVDB.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ typedef unsigned long long uint64_t;
170170

171171
#define NANOVDB_ASSERT(x)
172172

173+
#ifndef UINT64_C
173174
#define UINT64_C(x) (x ## ULL)
175+
#endif
174176

175177
#else // !__CUDACC_RTC__
176178

0 commit comments

Comments
 (0)