aboutsummaryrefslogtreecommitdiff
path: root/sdk/common
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/common')
-rwxr-xr-xsdk/common/NvBlastPreprocessorInternal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdk/common/NvBlastPreprocessorInternal.h b/sdk/common/NvBlastPreprocessorInternal.h
index 793e542..8af5243 100755
--- a/sdk/common/NvBlastPreprocessorInternal.h
+++ b/sdk/common/NvBlastPreprocessorInternal.h
@@ -60,4 +60,13 @@ Macros for more convenient logging
#endif
+/**
+Convenience macro to replace deprecated UINT32_MAX
+*/
+#ifndef UINT32_MAX
+#include <limits>
+#define UINT32_MAX (std::numeric_limits<uint32_t>::max())
+#endif
+
+
#endif // ifndef NVBLASTPREPROCESSORINTERNAL_H